mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
[DISK]
Fix return code when buffer is too small, as exposed in r74025. CORE-12858 svn path=/trunk/; revision=74026
This commit is contained in:
parent
04d0e17fdf
commit
2eb3e5db44
1 changed files with 1 additions and 1 deletions
|
@ -2062,7 +2062,7 @@ Return Value:
|
|||
irpStack->Parameters.DeviceIoControl.OutputBufferLength <
|
||||
sizeof(DISK_GEOMETRY_EX))) {
|
||||
|
||||
status = STATUS_INFO_LENGTH_MISMATCH;
|
||||
status = STATUS_BUFFER_TOO_SMALL;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue