Fix kdbg disasm bug, patch by SamB
authorZiliang Guo <drakekaizer666@gmail.com>
Sun, 19 Aug 2007 22:51:10 +0000 (22:51 +0000)
committerZiliang Guo <drakekaizer666@gmail.com>
Sun, 19 Aug 2007 22:51:10 +0000 (22:51 +0000)
See issue #2408 for more details.

svn path=/trunk/; revision=28427

reactos/ntoskrnl/kdbg/i386/i386-dis.c

index a983a16..a849f40 100644 (file)
@@ -62,7 +62,7 @@ KdbpPrintDisasm(void* Ignored, const char* fmt, ...)
 
   va_start(ap, fmt);
   ret = vsprintf(buffer, fmt, ap);
 
   va_start(ap, fmt);
   ret = vsprintf(buffer, fmt, ap);
-  DbgPrint(buffer);
+  DbgPrint("%s", buffer);
   va_end(ap);
   return(ret);
 }
   va_end(ap);
   return(ret);
 }