summaryrefslogtreecommitdiffstats
path: root/UnixPkg/UnixBlockIoDxe/DriverDiagnostics.c
diff options
context:
space:
mode:
Diffstat (limited to 'UnixPkg/UnixBlockIoDxe/DriverDiagnostics.c')
-rw-r--r--UnixPkg/UnixBlockIoDxe/DriverDiagnostics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/UnixPkg/UnixBlockIoDxe/DriverDiagnostics.c b/UnixPkg/UnixBlockIoDxe/DriverDiagnostics.c
index 0df0e3d967..69ba61dfb5 100644
--- a/UnixPkg/UnixBlockIoDxe/DriverDiagnostics.c
+++ b/UnixPkg/UnixBlockIoDxe/DriverDiagnostics.c
@@ -149,7 +149,7 @@ UnixBlockIoDriverDiagnosticsRunDiagnostics (
*ErrorType = &gEfiBlockIoProtocolGuid;
*BufferSize = 0x60;
gBS->AllocatePool (EfiBootServicesData, (UINTN) (*BufferSize),
- (void *)Buffer);
+ (void *)Buffer);
CopyMem (*Buffer, L"Unix Block I/O Driver Diagnostics Failed\n", *BufferSize);
return EFI_DEVICE_ERROR;
}