summaryrefslogtreecommitdiff
path: root/libbb/bb_asprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/bb_asprintf.c')
-rw-r--r--libbb/bb_asprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/bb_asprintf.c b/libbb/bb_asprintf.c
index 7075b46..a3ba424 100644
--- a/libbb/bb_asprintf.c
+++ b/libbb/bb_asprintf.c
@@ -11,7 +11,7 @@ void bb_xasprintf(char **string_ptr, const char *format, ...)
{
va_list p;
int r;
-
+
va_start(p, format);
r = vasprintf(string_ptr, format, p);
va_end(p);