mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Change all references from avsprintf to vasprintf. From Sebastien Lorquet
This commit is contained in:
committed by
Gregory Nutt
parent
1cc7a5fc6f
commit
f697cbfd0d
@@ -59,12 +59,12 @@ index ba7dbe7..45e4ab1 100644
|
||||
+#else
|
||||
+ 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
|
||||
+ */
|
||||
+
|
||||
+ str = NULL;
|
||||
+ (void)avsprintf(&str, fmt, ap);
|
||||
+ (void)vasprintf(&str, fmt, ap);
|
||||
+
|
||||
+ /* Was a string allocated? */
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user