update for HEAD-2003091401
[reactos.git] / ntoskrnl / io / driver.c
index 7db3e0d..95adf35 100644 (file)
@@ -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);