[PATCH] wnaspi32: Degrade ERR of not finding registry entry for a device to TRACE; most of those are legitimate and should not really be considered an error (i.e. non-existant devices)
Rok Mandeljc
rok.mandeljc at email.si
Thu Nov 1 02:07:50 CDT 2007
---
dlls/wnaspi32/aspi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wnaspi32/aspi.c b/dlls/wnaspi32/aspi.c
index fcfc1f8..46a4763 100644
--- a/dlls/wnaspi32/aspi.c
+++ b/dlls/wnaspi32/aspi.c
@@ -155,7 +155,7 @@ BOOL SCSI_GetDeviceName( int h, int c, int t, int d, LPSTR devstr, LPDWORD lpcbD
snprintf(buffer, sizeof(buffer), KEYNAME_SCSI, h, c, t, d);
if( RegOpenKeyExA(HKEY_LOCAL_MACHINE, buffer, 0, KEY_ALL_ACCESS, &hkeyScsi ) != ERROR_SUCCESS )
{
- ERR("Could not open HKLM\\%s\n", buffer);
+ TRACE("Could not open HKLM\\%s; device does not exist\n", buffer);
return FALSE;
}
--
1.5.3.3
--------------010802040902010506060201--
More information about the wine-patches
mailing list