- Fix bogus debug print leading to buffer overflow

svn path=/trunk/; revision=47921
This commit is contained in:
Johannes Anderwald 2010-07-01 11:59:42 +00:00
parent 913e2d6b7f
commit f2d29b70d7

View file

@ -259,7 +259,7 @@ KspReadMediaCategory(
/* open the key */ /* open the key */
Status = ZwOpenKey(&hKey, GENERIC_READ, &ObjectAttributes); 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 */ /* free path buffer */
FreeItem(Path.Buffer); FreeItem(Path.Buffer);