mirror of
https://github.com/reactos/reactos.git
synced 2025-04-29 18:48:53 +00:00
[DISK_NEW] Return correct info size in failure case of DiskIoctlGetPartitionInfoEx.
This commit is contained in:
parent
2fa7b1dcc1
commit
0d745e0698
1 changed files with 1 additions and 1 deletions
|
@ -6053,7 +6053,7 @@ DiskIoctlGetPartitionInfoEx(
|
||||||
|
|
||||||
status = STATUS_BUFFER_TOO_SMALL;
|
status = STATUS_BUFFER_TOO_SMALL;
|
||||||
Irp->IoStatus.Status = status;
|
Irp->IoStatus.Status = status;
|
||||||
Irp->IoStatus.Information = sizeof(PARTITION_INFORMATION);
|
Irp->IoStatus.Information = sizeof(PARTITION_INFORMATION_EX);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue