Commit 5ea3a044 authored by Andrey Gusev's avatar Andrey Gusev Committed by Alexandre Julliard

twain_32: Add missing debugstr_a.

parent 904c0dc0
...@@ -57,12 +57,12 @@ twain_add_onedriver(const char *dsname) { ...@@ -57,12 +57,12 @@ twain_add_onedriver(const char *dsname) {
hmod = LoadLibraryA(dsname); hmod = LoadLibraryA(dsname);
if (!hmod) { if (!hmod) {
ERR("Failed to load TWAIN Source %s\n", dsname); ERR("Failed to load TWAIN Source %s\n", debugstr_a(dsname));
return; return;
} }
dsEntry = (DSENTRYPROC)GetProcAddress(hmod, "DS_Entry"); dsEntry = (DSENTRYPROC)GetProcAddress(hmod, "DS_Entry");
if (!dsEntry) { if (!dsEntry) {
ERR("Failed to find DS_Entry() in TWAIN DS %s\n", dsname); ERR("Failed to find DS_Entry() in TWAIN DS %s\n", debugstr_a(dsname));
return; return;
} }
/* Loop to do multiple detects, mostly for sane.ds and gphoto2.ds */ /* Loop to do multiple detects, mostly for sane.ds and gphoto2.ds */
...@@ -317,7 +317,7 @@ TW_UINT16 TWAIN_OpenDS (pTW_IDENTITY pOrigin, TW_MEMREF pData) ...@@ -317,7 +317,7 @@ TW_UINT16 TWAIN_OpenDS (pTW_IDENTITY pOrigin, TW_MEMREF pData)
} }
hmod = LoadLibraryA(devices[i].modname); hmod = LoadLibraryA(devices[i].modname);
if (!hmod) { if (!hmod) {
ERR("Failed to load TWAIN Source %s\n", modname); ERR("Failed to load TWAIN Source %s\n", debugstr_a(modname));
DSM_twCC = TWCC_OPERATIONERROR; DSM_twCC = TWCC_OPERATIONERROR;
HeapFree(GetProcessHeap(), 0, newSource); HeapFree(GetProcessHeap(), 0, newSource);
return TWRC_FAILURE; return TWRC_FAILURE;
......
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