mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[CMBATT] Correctly print UNICODE_STRING
This commit is contained in:
@@ -1267,9 +1267,9 @@ DriverEntry(IN PDRIVER_OBJECT DriverObject,
|
||||
/* Buffer allocated, copy the string */
|
||||
RtlCopyUnicodeString(&GlobalRegistryPath, RegistryPath);
|
||||
if (CmBattDebug & CMBATT_GENERIC_INFO)
|
||||
DbgPrint("CmBatt DriverEntry - Obj (%08x) Path \"%ws\"\n",
|
||||
DbgPrint("CmBatt DriverEntry - Obj (%08x) Path \"%wZ\"\n",
|
||||
DriverObject,
|
||||
RegistryPath->Buffer);
|
||||
RegistryPath);
|
||||
|
||||
/* Setup the major dispatchers */
|
||||
DriverObject->MajorFunction[IRP_MJ_CREATE] = CmBattOpenClose;
|
||||
|
||||
Reference in New Issue
Block a user