diff --git a/format.c b/format.c index 920dc4c0..c7c6b12e 100644 --- a/format.c +++ b/format.c @@ -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);