From f697cbfd0d46ba2bf57bd7e56571681bf161183b Mon Sep 17 00:00:00 2001 From: Sebastien Lorquet Date: Mon, 7 Sep 2015 13:11:55 -0600 Subject: [PATCH] Change all references from avsprintf to vasprintf. From Sebastien Lorquet --- .../tools/zneo-zdsii-5_0_1-variadic-func-fix.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/z16f2800100zcog/tools/zneo-zdsii-5_0_1-variadic-func-fix.patch b/configs/z16f2800100zcog/tools/zneo-zdsii-5_0_1-variadic-func-fix.patch index 3dc9c87c59d..f7d5fe4eb16 100644 --- a/configs/z16f2800100zcog/tools/zneo-zdsii-5_0_1-variadic-func-fix.patch +++ b/configs/z16f2800100zcog/tools/zneo-zdsii-5_0_1-variadic-func-fix.patch @@ -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? */ +