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@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Arkadiusz Hiler 2021-04-13 18:31:12 +03:00 committed by Alexandre Julliard
parent 3386560057
commit 268fb3d1d6
1 changed files with 1 additions and 1 deletions

View File

@ -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);