Commit 010b9a85 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix va_start invocation

parent 4bacba8c
......@@ -58,7 +58,7 @@ static inline int asprintf (char **strp, const char *fmt, ...)
{
va_list ap;
int ret;
va_start (fmt, ap);
va_start (ap, fmt);
ret = vasprintf (strp, fmt, ap);
va_end (ap);
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment