mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
Fix usage of PNTSTATUS instead of NTSTATUS in NT_SUCCESS, which could result in IopCheckVpbMounted returning a wrong status code
svn path=/trunk/; revision=38121
This commit is contained in:
parent
1258b49708
commit
327684fd1c
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ IopCheckVpbMounted(IN POPEN_PACKET OpenPacket,
|
|||
IopDereferenceDeviceObject(DeviceObject, FALSE);
|
||||
|
||||
/* Check if it was a total failure */
|
||||
if (!NT_SUCCESS(Status)) return NULL;
|
||||
if (!NT_SUCCESS(*Status)) return NULL;
|
||||
|
||||
/* Otherwise we were alerted */
|
||||
*Status = STATUS_WRONG_VOLUME;
|
||||
|
|
Loading…
Reference in a new issue