Commit f976fc8e authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

winspool: Add a TRACE when wine_dlopen for SONAME_LIBCUPS failed.

parent 17f1c294
......@@ -428,11 +428,14 @@ static BOOL CUPS_LoadPrinters(void)
PRINTER_INFO_2A pinfo2a;
char *port,*devline;
HKEY hkeyPrinter, hkeyPrinters, hkey;
char loaderror[256];
cupshandle = wine_dlopen(SONAME_LIBCUPS, RTLD_NOW, NULL, 0);
if (!cupshandle)
return FALSE;
TRACE("loaded %s\n", SONAME_LIBCUPS);
cupshandle = wine_dlopen(SONAME_LIBCUPS, RTLD_NOW, loaderror, sizeof(loaderror));
if (!cupshandle) {
TRACE("%s\n", loaderror);
return FALSE;
}
TRACE("%p: %s loaded\n", cupshandle, SONAME_LIBCUPS);
#define DYNCUPS(x) \
p##x = wine_dlsym(cupshandle, #x, NULL,0); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment