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