diff options
Diffstat (limited to 'openbsd-compat/bsd-asprintf.c')
-rw-r--r-- | openbsd-compat/bsd-asprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-asprintf.c b/openbsd-compat/bsd-asprintf.c index 7b83448ca..822367154 100644 --- a/openbsd-compat/bsd-asprintf.c +++ b/openbsd-compat/bsd-asprintf.c | |||
@@ -78,7 +78,7 @@ int asprintf(char **str, const char *fmt, ...) | |||
78 | { | 78 | { |
79 | va_list ap; | 79 | va_list ap; |
80 | int ret; | 80 | int ret; |
81 | 81 | ||
82 | *str = NULL; | 82 | *str = NULL; |
83 | va_start(ap, fmt); | 83 | va_start(ap, fmt); |
84 | ret = vasprintf(str, fmt, ap); | 84 | ret = vasprintf(str, fmt, ap); |