>From cc46beb10161138960dbce1914ca6c8d4d6e26b7 Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <nsivov@codeweavers.com>
Date: Sat, 11 Feb 2012 17:56:32 +0300
Subject: [PATCH 4/4] Use debugstr_a() to trace

---
 dlls/msxml3/main.c   |    6 +++---
 dlls/msxml3/schema.c |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/msxml3/main.c b/dlls/msxml3/main.c
index 464ef90..9c477b2 100644
--- a/dlls/msxml3/main.c
+++ b/dlls/msxml3/main.c
@@ -91,7 +91,7 @@ void wineXmlCallbackLog(char const* caller, xmlErrorLevel lvl, char const* msg,
     }
     while (needed);
 
-    wine_dbg_log(dbcl, &__wine_dbch_msxml, caller, "%s", buf);
+    wine_dbg_log(dbcl, &__wine_dbch_msxml, caller, "%s", debugstr_a(buf));
     heap_free(buf);
 }
 
@@ -113,7 +113,7 @@ static int wineXmlMatchCallback (char const * filename)
 {
     int nRet = 0;
 
-    TRACE("%s\n", filename);
+    TRACE("%s\n", debugstr_a(filename));
 
     /*
      * We will deal with loading XML files from the file system
@@ -144,7 +144,7 @@ static int wineXmlReadCallback(void * context, char * buffer, int len)
 {
     DWORD dwBytesRead;
 
-    TRACE("%p %s %d\n", context, buffer, len);
+    TRACE("%p %s %d\n", context, debugstr_a(buffer), len);
 
     if ((context == NULL) || (buffer == NULL))
         return(-1);
diff --git a/dlls/msxml3/schema.c b/dlls/msxml3/schema.c
index 253f901..cc1d695 100644
--- a/dlls/msxml3/schema.c
+++ b/dlls/msxml3/schema.c
@@ -704,7 +704,7 @@ static xmlParserInputPtr external_entity_loader(const char *URL, const char *ID,
     /* TODO: if the desired schema is in the cache, load it from there */
     if (lstrcmpA(URL, "urn:schemas-microsoft-com:datatypes") == 0)
     {
-        TRACE("loading built-in schema for %s\n", URL);
+        TRACE("loading built-in schema for %s\n", debugstr_a(URL));
         input = xmlNewStringInputStream(ctxt, datatypes_src);
     }
     else
-- 
1.5.6.5

