Arkadiusz Hiler : setupapi: Demote ERR on opening driver key to a TRACE.
Module: wine Branch: master Commit: 268fb3d1d603b1bc3d479984735099d3178ea4d9 URL: https://source.winehq.org/git/wine.git/?a=commit;h=268fb3d1d603b1bc3d4799847... Author: Arkadiusz Hiler <ahiler(a)codeweavers.com> Date: Tue Apr 13 18:31:12 2021 +0300 setupapi: Demote ERR on opening driver key to a TRACE. open_driver_key() is called by create_driver_key() and SetupDiOpenDevRegKey() which depend on the failure path to detect the presence of the key. This causes a lot of unnecessary errors being printed out. Signed-off-by: Arkadiusz Hiler <ahiler(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/setupapi/devinst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c index 0758fef5603..dd1ddaa9d33 100644 --- a/dlls/setupapi/devinst.c +++ b/dlls/setupapi/devinst.c @@ -560,7 +560,7 @@ static LONG open_driver_key(struct device *device, REGSAM access, HKEY *key) RegCloseKey(class_key); return l; } - ERR("Failed to open driver key, error %u.\n", l); + TRACE("Failed to open driver key, error %u.\n", l); } RegCloseKey(class_key);
participants (1)
-
Alexandre Julliard