mirror of
https://github.com/apache/nuttx.git
synced 2026-08-11 15:35:10 +00:00
Change all references from avsprintf to vasprintf. From Sebastien Lorquet
This commit is contained in:
parent
1cc7a5fc6f
commit
f697cbfd0d
1 changed files with 2 additions and 2 deletions
|
|
@ -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? */
|
||||
+
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue