mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 21:13:41 +00:00
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;
|
PRINTER_INFO_2A pinfo2a;
|
||||||
char *port,*devline;
|
char *port,*devline;
|
||||||
HKEY hkeyPrinter, hkeyPrinters, hkey;
|
HKEY hkeyPrinter, hkeyPrinters, hkey;
|
||||||
|
char loaderror[256];
|
||||||
|
|
||||||
cupshandle = wine_dlopen(SONAME_LIBCUPS, RTLD_NOW, NULL, 0);
|
cupshandle = wine_dlopen(SONAME_LIBCUPS, RTLD_NOW, loaderror, sizeof(loaderror));
|
||||||
if (!cupshandle)
|
if (!cupshandle) {
|
||||||
return FALSE;
|
TRACE("%s\n", loaderror);
|
||||||
TRACE("loaded %s\n", SONAME_LIBCUPS);
|
return FALSE;
|
||||||
|
}
|
||||||
|
TRACE("%p: %s loaded\n", cupshandle, SONAME_LIBCUPS);
|
||||||
|
|
||||||
#define DYNCUPS(x) \
|
#define DYNCUPS(x) \
|
||||||
p##x = wine_dlsym(cupshandle, #x, NULL,0); \
|
p##x = wine_dlsym(cupshandle, #x, NULL,0); \
|
||||||
|
|
Loading…
Reference in a new issue