提交 da5b1a91 编写于 作者: C Chen Hanxiao 提交者: Ján Tomko

virstring: fix a typo

s/glibc's_asprintf/glibc's asprintf
Signed-off-by: NChen Hanxiao <chenhanxiao@gmail.com>
Reviewed-by: NJán Tomko <jtomko@redhat.com>
Signed-off-by: NJán Tomko <jtomko@redhat.com>
上级 cb9868b5
...@@ -248,7 +248,7 @@ size_t virStringListLength(const char * const *strings); ...@@ -248,7 +248,7 @@ size_t virStringListLength(const char * const *strings);
* @strp: variable to hold result (char **) * @strp: variable to hold result (char **)
* @fmt: printf format * @fmt: printf format
* *
* Like glibc's_asprintf but makes sure *strp == NULL on failure, in which case * Like glibc's asprintf but makes sure *strp == NULL on failure, in which case
* the OOM error is reported too. * the OOM error is reported too.
* *
* Returns -1 on failure (with OOM error reported), number of bytes printed * Returns -1 on failure (with OOM error reported), number of bytes printed
...@@ -264,7 +264,7 @@ size_t virStringListLength(const char * const *strings); ...@@ -264,7 +264,7 @@ size_t virStringListLength(const char * const *strings);
* @strp: variable to hold result (char **) * @strp: variable to hold result (char **)
* @fmt: printf format * @fmt: printf format
* *
* Like glibc's_asprintf but makes sure *strp == NULL on failure. * Like glibc's asprintf but makes sure *strp == NULL on failure.
* *
* Returns -1 on failure, number of bytes printed on success. * Returns -1 on failure, number of bytes printed on success.
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册