Author: hbelusca
Date: Sat May 17 13:26:32 2014
New Revision: 63327
URL:
http://svn.reactos.org/svn/reactos?rev=63327&view=rev
Log:
[GREEN]: Fix 2nd parameter of ObOpenObjectByName.
Modified:
trunk/rosapps/drivers/green/pnp.c
Modified: trunk/rosapps/drivers/green/pnp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/drivers/green/pnp.c?rev=63…
==============================================================================
--- trunk/rosapps/drivers/green/pnp.c [iso-8859-1] (original)
+++ trunk/rosapps/drivers/green/pnp.c [iso-8859-1] Sat May 17 13:26:32 2014
@@ -50,7 +50,7 @@
InitializeObjectAttributes(&ObjectAttributes,
&DriverExtension->AttachedDeviceName, OBJ_KERNEL_HANDLE, NULL, NULL);
Status = ObOpenObjectByName(
&ObjectAttributes,
- IoFileObjectType,
+ *IoFileObjectType,
KernelMode,
NULL,
DesiredAccess,