summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2017-03-07 16:02:27 +0800
committerHao Wu <hao.a.wu@intel.com>2017-03-13 11:09:29 +0800
commitba5cd2ff24d54323d8be4b8012645ddef0b8982c (patch)
treeb2c9b44ee8122a995ee5676866286ffeb744c426
parent5923ef92176be63c476ae96da81e395386a879eb (diff)
downloadedk2-ba5cd2ff24d54323d8be4b8012645ddef0b8982c.tar.gz
edk2-ba5cd2ff24d54323d8be4b8012645ddef0b8982c.tar.bz2
edk2-ba5cd2ff24d54323d8be4b8012645ddef0b8982c.zip
MdeModulePkg/PrintLib: Refine the comment for AsciiValueToStringS API
The commit refines the comment description for PrintLib API AsciiValueToStringS. This API will not ASSERT when the input/output parameter 'Buffer' is not aligned on a 16-bit boundary. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu <hao.a.wu@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
-rw-r--r--MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c b/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c
index 6a4d25b73a..9f702c4fef 100644
--- a/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c
+++ b/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c
@@ -1173,8 +1173,7 @@ AsciiValueToString (
sign character, '0' characters, digit characters for Value, and the
Null-terminator add up to Width characters.
- If Buffer is not aligned on a 16-bit boundary, then ASSERT().
- If an error would be returned, then the function will also ASSERT().
+ If an error would be returned, then the function will ASSERT().
@param Buffer The pointer to the output buffer for the produced
Null-terminated Ascii string.