summaryrefslogtreecommitdiff
path: root/ArmPkg/Library
diff options
context:
space:
mode:
Diffstat (limited to 'ArmPkg/Library')
-rw-r--r--ArmPkg/Library/SemiHostingSerialPortLib/SerialPortLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ArmPkg/Library/SemiHostingSerialPortLib/SerialPortLib.c b/ArmPkg/Library/SemiHostingSerialPortLib/SerialPortLib.c
index bd8f5b8199..60d8930d6c 100644
--- a/ArmPkg/Library/SemiHostingSerialPortLib/SerialPortLib.c
+++ b/ArmPkg/Library/SemiHostingSerialPortLib/SerialPortLib.c
@@ -98,7 +98,7 @@ SerialPortWrite (
SemihostWriteString ((CHAR8 *) PrintBuffer);
}
- return 0;
+ return NumberOfBytes;
}