diff options
author | 2015-11-18 13:06:54 +0000 | |
---|---|---|
committer | 2015-11-18 13:06:54 +0000 | |
commit | 3baad57ef88ab20f52119f6543f71b63fb770a08 (patch) | |
tree | e252ce8ba7ee0e277ec9861ba0b7a844d834c275 /usr.bin/tmux/input.c | |
parent | Revert previous workaround now that multipath route selection has been (diff) | |
download | wireguard-openbsd-3baad57ef88ab20f52119f6543f71b63fb770a08.tar.xz wireguard-openbsd-3baad57ef88ab20f52119f6543f71b63fb770a08.zip |
Sync the entire xmalloc.[ch] with the other users, but with the addition
of xrealloc, xvasprintf, xvsnprintf.
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r-- | usr.bin/tmux/input.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c index 7c35f5af302..2d9e2460ddd 100644 --- a/usr.bin/tmux/input.c +++ b/usr.bin/tmux/input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input.c,v 1.93 2015/11/14 12:20:19 nicm Exp $ */ +/* $OpenBSD: input.c,v 1.94 2015/11/18 13:06:54 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1924,7 +1924,7 @@ input_utf8_open(struct input_ctx *ictx) struct utf8_data *ud = &ictx->utf8data; if (utf8_open(ud, ictx->ch) != UTF8_MORE) - log_fatalx("UTF-8 open invalid %#x", ictx->ch); + fatalx("UTF-8 open invalid %#x", ictx->ch); log_debug("%s %hhu", __func__, ud->size); @@ -1938,7 +1938,7 @@ input_utf8_add(struct input_ctx *ictx) struct utf8_data *ud = &ictx->utf8data; if (utf8_append(ud, ictx->ch) != UTF8_MORE) - log_fatalx("UTF-8 add invalid %#x", ictx->ch); + fatalx("UTF-8 add invalid %#x", ictx->ch); log_debug("%s", __func__); @@ -1952,7 +1952,7 @@ input_utf8_close(struct input_ctx *ictx) struct utf8_data *ud = &ictx->utf8data; if (utf8_append(ud, ictx->ch) != UTF8_DONE) - log_fatalx("UTF-8 close invalid %#x", ictx->ch); + fatalx("UTF-8 close invalid %#x", ictx->ch); log_debug("%s %hhu '%*s' (width %hhu)", __func__, ud->size, (int)ud->size, ud->data, ud->width); |