summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/input.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2016-09-28 14:40:08 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2016-09-28 14:40:08 +0000
commitda38a26f2b926ae08b88a64f4871aaf6f03896fa (patch)
tree4b5f30daf103475885be887bfc66335ca9789798 /usr.bin/tmux/input.c
parent678f5239bfb3abb60027d1eadb37db8e6fd9c15d (diff)
Couple of vasprintf -> xvasprintf.
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r--usr.bin/tmux/input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c
index c10b0da31ce..4c6ee298785 100644
--- a/usr.bin/tmux/input.c
+++ b/usr.bin/tmux/input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input.c,v 1.102 2016/07/15 00:42:56 nicm Exp $ */
+/* $OpenBSD: input.c,v 1.103 2016/09/28 14:40:07 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -961,7 +961,7 @@ input_reply(struct input_ctx *ictx, const char *fmt, ...)
char *reply;
va_start(ap, fmt);
- vasprintf(&reply, fmt, ap);
+ xvasprintf(&reply, fmt, ap);
va_end(ap);
bufferevent_write(ictx->wp->event, reply, strlen(reply));