Commit b8fbf9a1 authored by Jeremy White's avatar Jeremy White Committed by Alexandre Julliard

wineps.drv: Prevent psdrv tracing from crashing on Solaris.

parent 2d5ea4b5
......@@ -327,7 +327,7 @@ INT CDECL PSDRV_ExtDeviceMode(LPSTR lpszDriver, HWND hwnd, LPDEVMODEA lpdmOutput
if(!pi) return -1;
TRACE("(Driver=%s, hwnd=%p, devOut=%p, Device='%s', Port='%s', devIn=%p, Profile='%s', Mode=%04x)\n",
lpszDriver, hwnd, lpdmOutput, lpszDevice, lpszPort, lpdmInput, lpszProfile, dwMode);
lpszDriver, hwnd, lpdmOutput, lpszDevice, lpszPort, lpdmInput, debugstr_a(lpszProfile), dwMode);
/* If dwMode == 0, return size of DEVMODE structure */
if(!dwMode)
......
......@@ -1015,8 +1015,8 @@ PPD *PSDRV_ParsePPD(char *fname)
for(slot = ppd->InputSlots; slot; slot = slot->next)
TRACE("INPUTSLOTS '%s' Name '%s' (%d) Invocation '%s'\n",
slot->Name, slot->FullName, slot->WinBin,
slot->InvocationString);
debugstr_a(slot->Name), slot->FullName, slot->WinBin,
debugstr_a(slot->InvocationString));
}
fclose(fp);
......
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