winspool: Add a TRACE when wine_dlopen for SONAME_LIBCUPS failed.
This commit is contained in:
parent
17f1c29457
commit
f976fc8ead
|
@ -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); \
|
||||
|
|
Loading…
Reference in New Issue