[PATCH 1/2] setupapi: Demote ERR on opening driver key to a TRACE.
Arkadiusz Hiler
ahiler at codeweavers.com
Tue Apr 13 10:31:12 CDT 2021
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 at codeweavers.com>
---
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);
--
2.31.1
More information about the wine-devel
mailing list