From 6a8ba3616c7eebd2ea42deba2ce087d583d83320 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Mon, 19 Sep 2011 23:28:54 +0200 Subject: [PATCH] version: Fix printing NULL strings. --- dlls/version/version.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/version/version.c b/dlls/version/version.c index f636c62db7d..bc90dccfd9c 100644 --- a/dlls/version/version.c +++ b/dlls/version/version.c @@ -1344,8 +1344,9 @@ DWORD WINAPI VerInstallFileA( OFSTRUCT ofs; TRACE("(%x,%s,%s,%s,%s,%s,%p,%d)\n", - flags,srcfilename,destfilename,srcdir,destdir,curdir,tmpfile,*tmpfilelen - ); + flags,debugstr_a(srcfilename),debugstr_a(destfilename), + debugstr_a(srcdir),debugstr_a(destdir),debugstr_a(curdir), + tmpfile,*tmpfilelen); xret = 0; if (!srcdir || !srcfilename) return VIF_CANNOTREADSRC; sprintf(srcfn,"%s\\%s",srcdir,srcfilename);