Change all references from avsprintf to vasprintf. From Sebastien Lorquet

This commit is contained in:
Sebastien Lorquet 2015-09-07 13:11:55 -06:00 committed by Gregory Nutt
parent 1cc7a5fc6f
commit f697cbfd0d

View File

@ -59,12 +59,12 @@ index ba7dbe7..45e4ab1 100644
+#else +#else
+ char *str; + char *str;
+ +
+ /* Use avsprintf() to allocate a buffer and fill it with the formatted + /* Use vasprintf() to allocate a buffer and fill it with the formatted
+ * data + * data
+ */ + */
+ +
+ str = NULL; + str = NULL;
+ (void)avsprintf(&str, fmt, ap); + (void)vasprintf(&str, fmt, ap);
+ +
+ /* Was a string allocated? */ + /* Was a string allocated? */
+ +