git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update for HEAD-2003091401
[reactos.git]
/
ntoskrnl
/
io
/
driver.c
diff --git
a/ntoskrnl/io/driver.c
b/ntoskrnl/io/driver.c
index
7db3e0d
..
95adf35
100644
(file)
--- a/
ntoskrnl/io/driver.c
+++ b/
ntoskrnl/io/driver.c
@@
-222,7
+222,9
@@
NtLoadDriver(IN PUNICODE_STRING DriverServiceName)
Status = IopInitializeDriver(ModuleObject->EntryPoint,
DeviceNode,
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);
if (!NT_SUCCESS(Status))
{
DPRINT1("IopInitializeDriver() failed (Status %lx)\n", Status);