mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[NTOS:IO] Show the captured/generated driver name in one failure path of IoCreateDriver.
This commit is contained in:
parent
56be4eafd5
commit
4a93b0a463
1 changed files with 3 additions and 3 deletions
|
@ -643,7 +643,7 @@ IopInitializeDriverModule(
|
|||
driverObject->Flags &= ~DRVO_LEGACY_DRIVER;
|
||||
}
|
||||
|
||||
// Windows does this fixup - keep it for compatibility
|
||||
/* Windows does this fixup, keep it for compatibility */
|
||||
for (INT i = 0; i <= IRP_MJ_MAXIMUM_FUNCTION; i++)
|
||||
{
|
||||
/*
|
||||
|
@ -1695,13 +1695,13 @@ try_again:
|
|||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
/* If it didn't work, then kill the object */
|
||||
DPRINT1("'%wZ' initialization failed, status (0x%08lx)\n", DriverName, Status);
|
||||
DPRINT1("'%wZ' initialization failed, status (0x%08lx)\n", &LocalDriverName, Status);
|
||||
ObMakeTemporaryObject(DriverObject);
|
||||
ObDereferenceObject(DriverObject);
|
||||
return Status;
|
||||
}
|
||||
|
||||
// Windows does this fixup - keep it for compatibility
|
||||
/* Windows does this fixup, keep it for compatibility */
|
||||
for (i = 0; i <= IRP_MJ_MAXIMUM_FUNCTION; i++)
|
||||
{
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue