Author: cgutman
Date: Sat Aug 27 18:14:46 2011
New Revision: 53471
URL:
http://svn.reactos.org/svn/reactos?rev=53471&view=rev
Log:
[PO]
- Use the correct access mode for ObReferenceObjectByHandle
Modified:
trunk/reactos/ntoskrnl/po/events.c
Modified: trunk/reactos/ntoskrnl/po/events.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/po/events.c?rev=5…
==============================================================================
--- trunk/reactos/ntoskrnl/po/events.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/po/events.c [iso-8859-1] Sat Aug 27 18:14:46 2011
@@ -209,7 +209,7 @@
FileHandle,
FILE_READ_DATA,
IoFileObjectType,
- ExGetPreviousMode(),
+ KernelMode,
(PVOID*)&FileObject,
NULL);
if (!NT_SUCCESS(Status))