Use xvasprintf not vasprintf.

pull/2288/head
nicm 2020-06-23 05:23:26 +00:00
parent 068b92b051
commit 2964dde903
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ format_log1(struct format_tree *ft, const char *from, const char *fmt, ...)
return;
va_start(ap, fmt);
vasprintf(&s, fmt, ap);
xvasprintf(&s, fmt, ap);
va_end(ap);
log_debug("%s: %s", from, s);