From e215a566a413dfd939c29bf5dbdb8aceeb25c136 Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 23 Jun 2020 05:23:26 +0000 Subject: [PATCH] Use xvasprintf not vasprintf. --- format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);