From 0c4a5f1e064a6754c64c8a43051315f70bd20f08 Mon Sep 17 00:00:00 2001 From: Phillip Susi Date: Mon, 24 Apr 2000 04:17:55 +0000 Subject: [PATCH] NtDeviceIoControllFile() was not specifying IoFileObjectType as the object type when referencing the file handle svn path=/trunk/; revision=1136 --- reactos/ntoskrnl/io/ioctrl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/ntoskrnl/io/ioctrl.c b/reactos/ntoskrnl/io/ioctrl.c index 120e9b72414..566f808460c 100644 --- a/reactos/ntoskrnl/io/ioctrl.c +++ b/reactos/ntoskrnl/io/ioctrl.c @@ -1,4 +1,4 @@ -/* $Id: ioctrl.c,v 1.8 1999/11/07 14:07:35 ekohl Exp $ +/* $Id: ioctrl.c,v 1.9 2000/04/24 04:17:55 phreak Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -16,7 +16,7 @@ /* INCLUDES *****************************************************************/ #include - +#include #define NDEBUG #include @@ -62,7 +62,7 @@ NtDeviceIoControlFile ( Status = ObReferenceObjectByHandle(DeviceHandle, FILE_READ_DATA | FILE_WRITE_DATA, - NULL, + IoFileObjectType, KernelMode, (PVOID *) &FileObject, NULL);