projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[GREEN]: Fix 2nd parameter of ObOpenObjectByName.
[reactos.git]
/
rosapps
/
drivers
/
green
/
pnp.c
diff --git
a/rosapps/drivers/green/pnp.c
b/rosapps/drivers/green/pnp.c
index
a5253e3
..
a3ef66f
100644
(file)
--- a/
rosapps/drivers/green/pnp.c
+++ b/
rosapps/drivers/green/pnp.c
@@
-50,7
+50,7
@@
CreateGreenFdo(
InitializeObjectAttributes(&ObjectAttributes, &DriverExtension->AttachedDeviceName, OBJ_KERNEL_HANDLE, NULL, NULL);
Status = ObOpenObjectByName(
&ObjectAttributes,
- IoFileObjectType,
+
*
IoFileObjectType,
KernelMode,
NULL,
DesiredAccess,