IoAllocateAdapterChannel should set CurrentIrp field in the wait context block.

svn path=/trunk/; revision=16863
This commit is contained in:
Filip Navara 2005-07-29 13:54:13 +00:00
parent 7fdc3cb55b
commit 12e1f03a17

View file

@ -1212,7 +1212,7 @@ IopInitializeBuiltinDriver(
Status = IopCreateDeviceNode(IopRootDeviceNode, NULL, &DeviceNode); Status = IopCreateDeviceNode(IopRootDeviceNode, NULL, &DeviceNode);
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status))
{ {
CPRINT("Driver load failed, status (%x)\n", Status); CPRINT("Driver '%s' load failed, status (%x)\n", FileName, Status);
return(Status); return(Status);
} }
} else } else
@ -1242,7 +1242,7 @@ IopInitializeBuiltinDriver(
{ {
if (ModuleDeviceNode == NULL) if (ModuleDeviceNode == NULL)
IopFreeDeviceNode(DeviceNode); IopFreeDeviceNode(DeviceNode);
CPRINT("Driver load failed, status (%x)\n", Status); CPRINT("Driver '%s' load failed, status (%x)\n", FileName, Status);
return Status; return Status;
} }
@ -1271,7 +1271,7 @@ IopInitializeBuiltinDriver(
{ {
if (ModuleDeviceNode == NULL) if (ModuleDeviceNode == NULL)
IopFreeDeviceNode(DeviceNode); IopFreeDeviceNode(DeviceNode);
CPRINT("Driver load failed, status (%x)\n", Status); CPRINT("Driver '%s' load failed, status (%x)\n", FileName, Status);
return Status; return Status;
} }