virstring: fix a typo

s/glibc's_asprintf/glibc's asprintf

Signed-off-by: Chen Hanxiao <chenhanxiao@gmail.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Chen Hanxiao 2018-06-11 18:46:21 +08:00 committed by Ján Tomko
parent cb9868b521
commit da5b1a9188

View File

@ -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);
* @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.
*/ */