mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 22:05:49 +00:00
Fix return value. Thanks to Hervé for noticing.
svn path=/trunk/; revision=42600
This commit is contained in:
parent
da8d2f0bd8
commit
de2b47bdf6
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue