localspl: Fix printing a NULL string

André Hentschel nerv at dawncrow.de
Wed Aug 31 13:07:31 CDT 2011


---
 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;
     }
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list