odbc32: Upgrade a WARN into ERR when the library is not found

Bruno Jesus 00cpxxx at gmail.com
Tue Aug 9 16:05:49 CDT 2016

In the same way as done when winbind is not present or gnutls make it
more clear that libodbc is not present.

In the same DLL winediag is already used in the next step of odbc
checking for drivers so this change also makes the code more
-------------- next part --------------
diff --git a/dlls/odbc32/proxyodbc.c b/dlls/odbc32/proxyodbc.c
index d7ebf10..aca0792 100644
--- a/dlls/odbc32/proxyodbc.c
+++ b/dlls/odbc32/proxyodbc.c
@@ -520,7 +520,7 @@ static BOOL ODBC_LoadDriverManager(void)
       return TRUE;
-   WARN("failed to open library %s: %s\n", debugstr_a(s), error);
+   ERR_(winediag)("failed to open library %s: %s\n", debugstr_a(s), error);
    return FALSE;

More information about the wine-patches mailing list