diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-06-23 05:23:27 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-06-23 05:23:27 +0000 |
commit | f25a7dd05374c5a3a2f0195512f54d374d7d8479 (patch) | |
tree | 9acff28be367e14346d2b0a6f5a1505a85b1d4c7 /usr.bin | |
parent | 4c0817e0080c2789cbc79bf72fb5f8c0dbd0459f (diff) |
Use xvasprintf not vasprintf.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tmux/format.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/format.c b/usr.bin/tmux/format.c index 160bf6adf18..ee760f23f31 100644 --- a/usr.bin/tmux/format.c +++ b/usr.bin/tmux/format.c @@ -1,4 +1,4 @@ -/* $OpenBSD: format.c,v 1.258 2020/06/11 19:43:34 nicm Exp $ */ +/* $OpenBSD: format.c,v 1.259 2020/06/23 05:23:26 nicm Exp $ */ /* * Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); |