ntdll: Fix printing NULL strings.
authorFrancois Gouget <fgouget@free.fr>
Mon, 19 Sep 2011 21:27:48 +0000 (23:27 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 20 Sep 2011 14:21:38 +0000 (16:21 +0200)
dlls/ntdll/atom.c

index 378956780e2821698b1fef894ee007034daa8e65..304b7f6d370af2456e5aa49ccd95127ec5314330 100644 (file)
@@ -164,7 +164,7 @@ NTSTATUS WINAPI RtlQueryAtomInAtomTable( RTL_ATOM_TABLE table, RTL_ATOM atom, UL
     }
 
     TRACE( "%p %x -> %s (%x)\n",
-           table, atom, len ? debugstr_wn(name, wlen / sizeof(WCHAR)) : NULL, status );
+           table, atom, len ? debugstr_wn(name, wlen / sizeof(WCHAR)) : "(null)", status );
     return status;
 }