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

oldstable
Jeremy White 2010-02-12 13:50:50 -06:00 committed by Alexandre Julliard
parent 2d5ea4b5d5
commit b8fbf9a1c2
2 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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);