[KS]
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Thu, 1 Jul 2010 11:59:42 +0000 (11:59 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Thu, 1 Jul 2010 11:59:42 +0000 (11:59 +0000)
- Fix bogus debug print leading to buffer overflow

svn path=/trunk/; revision=47921

reactos/drivers/ksfilter/ks/connectivity.c

index 4993849..b20263a 100644 (file)
@@ -259,7 +259,7 @@ KspReadMediaCategory(
     /* open the key */
     Status = ZwOpenKey(&hKey, GENERIC_READ, &ObjectAttributes);
 
-    DPRINT("ZwOpenKey() status 0x%08lx %S\n", Status, Path.Buffer);
+    DPRINT("ZwOpenKey() status 0x%08lx %wZ\n", Status, &Path);
 
     /* free path buffer */
     FreeItem(Path.Buffer);