summaryrefslogtreecommitdiff
path: root/UnixPkg/UnixBlockIoDxe
diff options
context:
space:
mode:
Diffstat (limited to 'UnixPkg/UnixBlockIoDxe')
-rw-r--r--UnixPkg/UnixBlockIoDxe/DriverDiagnostics.c2
-rw-r--r--UnixPkg/UnixBlockIoDxe/UnixBlockIo.c2
2 files changed, 2 insertions, 2 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;
}
diff --git a/UnixPkg/UnixBlockIoDxe/UnixBlockIo.c b/UnixPkg/UnixBlockIoDxe/UnixBlockIo.c
index f61db9481b..2de6cc6282 100644
--- a/UnixPkg/UnixBlockIoDxe/UnixBlockIo.c
+++ b/UnixPkg/UnixBlockIoDxe/UnixBlockIo.c
@@ -410,7 +410,7 @@ Returns:
BOOLEAN WriteProtected;
UINTN NumberOfBlocks;
UINTN BlockSize;
- INTN i;
+ INTN i;
//
// Grab the protocols we need