mirror of
https://github.com/reactos/reactos.git
synced 2025-07-27 21:52:59 +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);
|
IopDereferenceDeviceObject(DeviceObject, FALSE);
|
||||||
|
|
||||||
/* Check if it was a total failure */
|
/* Check if it was a total failure */
|
||||||
if (!NT_SUCCESS(Status)) return NULL;
|
if (!NT_SUCCESS(*Status)) return NULL;
|
||||||
|
|
||||||
/* Otherwise we were alerted */
|
/* Otherwise we were alerted */
|
||||||
*Status = STATUS_WRONG_VOLUME;
|
*Status = STATUS_WRONG_VOLUME;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue