X-Git-Url: http://git.jankratochvil.net/?p=reactos.git;a=blobdiff_plain;f=ntoskrnl%2Fio%2Fdriver.c;fp=ntoskrnl%2Fio%2Fdriver.c;h=95adf3570ace4e671decf4594869c455ea931334;hp=7db3e0d5a3aa468a12efb9b94d36032ecc910c8a;hb=a3df8bf1429570e0bd6c6428f6ed80073578cf4b;hpb=7c0db166f81fbe8c8b913d7f26048e337d383605 diff --git a/ntoskrnl/io/driver.c b/ntoskrnl/io/driver.c index 7db3e0d..95adf35 100644 --- a/ntoskrnl/io/driver.c +++ b/ntoskrnl/io/driver.c @@ -222,7 +222,9 @@ NtLoadDriver(IN PUNICODE_STRING DriverServiceName) Status = IopInitializeDriver(ModuleObject->EntryPoint, DeviceNode, - (Type == 2 || Type == 8)); + (Type == 2 || Type == 8), + ModuleObject->Base, + ModuleObject->Length); if (!NT_SUCCESS(Status)) { DPRINT1("IopInitializeDriver() failed (Status %lx)\n", Status);