mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[NTOSKRNL] In IoQueryFileDosDeviceName(), in case of an error, return appropriate status
This commit is contained in:
@@ -3619,7 +3619,7 @@ IoQueryFileDosDeviceName(IN PFILE_OBJECT FileObject,
|
||||
*/
|
||||
if (Status != STATUS_BUFFER_OVERFLOW)
|
||||
{
|
||||
return STATUS_BUFFER_OVERFLOW;
|
||||
return Status;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user