mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[CMBATT] Correctly print UNICODE_STRING
This commit is contained in:
parent
c858429fb1
commit
0be4e4aa6d
1 changed files with 2 additions and 2 deletions
|
@ -1267,9 +1267,9 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject,
|
||||||
/* Buffer allocated, copy the string */
|
/* Buffer allocated, copy the string */
|
||||||
RtlCopyUnicodeString(&GlobalRegistryPath, RegistryPath);
|
RtlCopyUnicodeString(&GlobalRegistryPath, RegistryPath);
|
||||||
if (CmBattDebug & CMBATT_GENERIC_INFO)
|
if (CmBattDebug & CMBATT_GENERIC_INFO)
|
||||||
DbgPrint("CmBatt DriverEntry - Obj (%08x) Path \"%ws\"\n",
|
DbgPrint("CmBatt DriverEntry - Obj (%08x) Path \"%wZ\"\n",
|
||||||
DriverObject,
|
DriverObject,
|
||||||
RegistryPath->Buffer);
|
RegistryPath);
|
||||||
|
|
||||||
/* Setup the major dispatchers */
|
/* Setup the major dispatchers */
|
||||||
DriverObject->MajorFunction[IRP_MJ_CREATE] = CmBattOpenClose;
|
DriverObject->MajorFunction[IRP_MJ_CREATE] = CmBattOpenClose;
|
||||||
|
|
Loading…
Reference in a new issue