André Hentschel : localspl: Fix printing a NULL string .
Module: wine Branch: master Commit: 975d9ed97af55a26a0ddfbb0a422c783fbffedd7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=975d9ed97af55a26a0ddfbb0a4... Author: André Hentschel <nerv(a)dawncrow.de> Date: Wed Aug 31 20:07:31 2011 +0200 localspl: Fix printing a NULL string. --- dlls/localspl/provider.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/localspl/provider.c b/dlls/localspl/provider.c index 3224188..848d11e 100644 --- a/dlls/localspl/provider.c +++ b/dlls/localspl/provider.c @@ -1678,7 +1678,7 @@ static BOOL WINAPI fpAddPortEx(LPWSTR pName, DWORD level, LPBYTE pBuffer, LPWSTR else { FIXME("not implemented for %s (monitor %p: %s)\n", - debugstr_w(pMonitorName), pm, pm ? debugstr_w(pm->dllname) : NULL); + debugstr_w(pMonitorName), pm, pm ? debugstr_w(pm->dllname) : "(null)"); SetLastError(ERROR_INVALID_PARAMETER); res = FALSE; }
participants (1)
-
Alexandre Julliard