summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/BaseSerialPortLib16550
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2015-11-20 01:51:15 +0000
committerlzeng14 <lzeng14@Edk2>2015-11-20 01:51:15 +0000
commit02018760ca5eaeb5676a86784d724599369d5b52 (patch)
tree83de3115418241135450a86445aea2dba54ca1f3 /MdeModulePkg/Library/BaseSerialPortLib16550
parent091a12620b17b2aada4b76f77d7926fe33b93128 (diff)
downloadedk2-02018760ca5eaeb5676a86784d724599369d5b52.tar.gz
edk2-02018760ca5eaeb5676a86784d724599369d5b52.tar.bz2
edk2-02018760ca5eaeb5676a86784d724599369d5b52.zip
MdeModulePkg BaseSerialPortLib16550: Fix typo in SerialPortWrite()
The "read" word in SerialPortWrite() header comment block should be "write". Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18910 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/BaseSerialPortLib16550')
-rw-r--r--MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c b/MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c
index 3209115a3f..5b6608d400 100644
--- a/MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c
+++ b/MdeModulePkg/Library/BaseSerialPortLib16550/BaseSerialPortLib16550.c
@@ -574,7 +574,7 @@ SerialPortInitialize (
@retval 0 NumberOfBytes is 0.
@retval >0 The number of bytes written to the serial device.
- If this value is less than NumberOfBytes, then the read operation failed.
+ If this value is less than NumberOfBytes, then the write operation failed.
**/
UINTN