summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library
diff options
context:
space:
mode:
authorHao Wu <hao.a.wu@intel.com>2017-03-07 15:57:52 +0800
committerHao Wu <hao.a.wu@intel.com>2017-03-13 11:09:23 +0800
commit5923ef92176be63c476ae96da81e395386a879eb (patch)
tree4cabd2005d4a4c7e62f1ad03dcc972e25ea030b5 /MdePkg/Library
parent54127af53d43c143ee4da734f5472acd085c5b58 (diff)
downloadedk2-5923ef92176be63c476ae96da81e395386a879eb.tar.gz
edk2-5923ef92176be63c476ae96da81e395386a879eb.tar.bz2
edk2-5923ef92176be63c476ae96da81e395386a879eb.zip
MdePkg/BasePrintLib: 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>
Diffstat (limited to 'MdePkg/Library')
-rw-r--r--MdePkg/Library/BasePrintLib/PrintLib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/MdePkg/Library/BasePrintLib/PrintLib.c b/MdePkg/Library/BasePrintLib/PrintLib.c
index 7453e952a7..34793919f6 100644
--- a/MdePkg/Library/BasePrintLib/PrintLib.c
+++ b/MdePkg/Library/BasePrintLib/PrintLib.c
@@ -869,8 +869,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.