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