=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/log.c,v retrieving revision 1.28 retrieving revision 1.29 diff -c -r1.28 -r1.29 *** src/usr.bin/tmux/log.c 2021/08/25 07:09:30 1.28 --- src/usr.bin/tmux/log.c 2021/09/10 14:22:24 1.29 *************** *** 1,4 **** ! /* $OpenBSD: log.c,v 1.28 2021/08/25 07:09:30 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: log.c,v 1.29 2021/09/10 14:22:24 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott *************** *** 147,153 **** va_start(ap, msg); if (asprintf(&fmt, "fatal: %s: %s", msg, strerror(errno)) == -1) exit(1); ! log_vwrite(fmt, ap); va_end(ap); exit(1); } --- 147,153 ---- va_start(ap, msg); if (asprintf(&fmt, "fatal: %s: %s", msg, strerror(errno)) == -1) exit(1); ! no_format_nonliteral(log_vwrite(fmt, ap)); va_end(ap); exit(1); } *************** *** 162,168 **** va_start(ap, msg); if (asprintf(&fmt, "fatal: %s", msg) == -1) exit(1); ! log_vwrite(fmt, ap); va_end(ap); exit(1); } --- 162,168 ---- va_start(ap, msg); if (asprintf(&fmt, "fatal: %s", msg) == -1) exit(1); ! no_format_nonliteral(log_vwrite(fmt, ap)); va_end(ap); exit(1); }