mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 05:26:58 +00:00
[NTOSKRNL] In IoQueryFileDosDeviceName(), in case of an error, return appropriate status
This commit is contained in:
parent
8c6c5a92e8
commit
520f404e9c
|
@ -3619,7 +3619,7 @@ IoQueryFileDosDeviceName(IN PFILE_OBJECT FileObject,
|
|||
*/
|
||||
if (Status != STATUS_BUFFER_OVERFLOW)
|
||||
{
|
||||
return STATUS_BUFFER_OVERFLOW;
|
||||
return Status;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue