Typo in earlier patch : asprintf -> vasprintf

Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
Dustin Kirkland 2009-02-02 10:54:23 +11:00 committed by NeilBrown
parent a123619211
commit 089485cbe4
1 changed files with 1 additions and 1 deletions

View File

@ -537,7 +537,7 @@ static inline int xasprintf(char **strp, const char *fmt, ...) {
va_list ap;
int ret;
va_start(ap, fmt);
ret = asprintf(strp, fmt, ap);
ret = vasprintf(strp, fmt, ap);
va_end(ap);
assert(ret >= 0);
return ret;