Francois Gouget : ntdll: Fix printing NULL strings.

Alexandre Julliard julliard at winehq.org
Tue Sep 20 13:08:34 CDT 2011


Module: wine
Branch: master
Commit: 17e62a5603d35c6338e88c308cb75150fd6abcf4
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=17e62a5603d35c6338e88c308cb75150fd6abcf4

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Sep 19 23:27:48 2011 +0200

ntdll: Fix printing NULL strings.

---

 dlls/ntdll/atom.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/atom.c b/dlls/ntdll/atom.c
index 3789567..304b7f6 100644
--- a/dlls/ntdll/atom.c
+++ b/dlls/ntdll/atom.c
@@ -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;
 }
 




More information about the wine-cvs mailing list