diff options
Diffstat (limited to 'UnixPkg/UnixBlockIoDxe/DriverDiagnostics.c')
-rw-r--r-- | UnixPkg/UnixBlockIoDxe/DriverDiagnostics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UnixPkg/UnixBlockIoDxe/DriverDiagnostics.c b/UnixPkg/UnixBlockIoDxe/DriverDiagnostics.c index 0e9a32c..e4c5df9 100644 --- a/UnixPkg/UnixBlockIoDxe/DriverDiagnostics.c +++ b/UnixPkg/UnixBlockIoDxe/DriverDiagnostics.c @@ -148,7 +148,7 @@ UnixBlockIoDriverDiagnosticsRunDiagnostics ( if (DiagnosticType != EfiDriverDiagnosticTypeStandard) {
*ErrorType = &gEfiBlockIoProtocolGuid;
*BufferSize = 0x60;
- gBS->AllocatePool (EfiBootServicesData, (UINTN) (*BufferSize), + gBS->AllocatePool (EfiBootServicesData, (UINTN) (*BufferSize),
(void *)Buffer);
CopyMem (*Buffer, L"Unix Block I/O Driver Diagnostics Failed\n", *BufferSize);
return EFI_DEVICE_ERROR;
|