Change all references from avsprintf to vasprintf. From Sebastien Lorquet

This commit is contained in:
Sebastien Lorquet
2015-09-07 13:10:40 -06:00
committed by Gregory Nutt
parent 413ebde3b3
commit 77e4e7b231
8 changed files with 14 additions and 12 deletions
+2 -2
View File
@@ -97,10 +97,10 @@ int asprintf (FAR char **ptr, const char *fmt, ...)
va_list ap;
int ret;
/* Let avsprintf do all of the work */
/* Let vasprintf do all of the work */
va_start(ap, fmt);
ret = avsprintf(ptr, fmt, ap);
ret = vasprintf(ptr, fmt, ap);
va_end(ap);
return ret;