aboutsummaryrefslogtreecommitdiff
path: root/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'log.c')
-rw-r--r--log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/log.c b/log.c
index ec54711a..d4808427 100644
--- a/log.c
+++ b/log.c
@@ -147,7 +147,7 @@ fatal(const char *msg, ...)
va_start(ap, msg);
if (asprintf(&fmt, "fatal: %s: %s", msg, strerror(errno)) == -1)
exit(1);
- log_vwrite(fmt, ap);
+ no_format_nonliteral(log_vwrite(fmt, ap));
va_end(ap);
exit(1);
}
@@ -162,7 +162,7 @@ fatalx(const char *msg, ...)
va_start(ap, msg);
if (asprintf(&fmt, "fatal: %s", msg) == -1)
exit(1);
- log_vwrite(fmt, ap);
+ no_format_nonliteral(log_vwrite(fmt, ap));
va_end(ap);
exit(1);
}