Fix return value. Thanks to Hervé for noticing.

svn path=/trunk/; revision=42600
This commit is contained in:
Timo Kreuzer 2009-08-10 19:26:53 +00:00
parent da8d2f0bd8
commit de2b47bdf6

View file

@ -13,7 +13,7 @@
#include <debug.h> #include <debug.h>
static static
DWORD NTSTATUS
EngpFileIoRequest( EngpFileIoRequest(
PFILE_OBJECT pFileObject, PFILE_OBJECT pFileObject,
ULONG ulMajorFunction, ULONG ulMajorFunction,
@ -50,7 +50,7 @@ EngpFileIoRequest(
&Iosb); &Iosb);
if (!pIrp) if (!pIrp)
{ {
return FALSE; return STATUS_INSUFFICIENT_RESOURCES;
} }
/* Call the driver */ /* Call the driver */
@ -66,7 +66,8 @@ EngpFileIoRequest(
/* Return information to the caller about the operation. */ /* Return information to the caller about the operation. */
*lpInformation = Iosb.Information; *lpInformation = Iosb.Information;
return NT_SUCCESS(Status); /* Return NTSTATUS */
return Status;
} }
VOID VOID