diff options
author | 2015-11-14 12:20:19 +0000 | |
---|---|---|
committer | 2015-11-14 12:20:19 +0000 | |
commit | b5261c1f804b0b3e7fd1bab0d38ac2b2dc70f511 (patch) | |
tree | 690f578d36007422f41c164a0eab8b35641559c3 | |
parent | The private use area at U+E000 to U+F8FF is not very useful if it is (diff) | |
download | wireguard-openbsd-b5261c1f804b0b3e7fd1bab0d38ac2b2dc70f511.tar.xz wireguard-openbsd-b5261c1f804b0b3e7fd1bab0d38ac2b2dc70f511.zip |
The character is an int so use %x not %hhx.
-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 2d6b58ca0db..7c35f5af302 100644 --- a/usr.bin/tmux/input.c +++ b/usr.bin/tmux/input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input.c,v 1.92 2015/11/14 11:45:43 nicm Exp $ */ +/* $OpenBSD: input.c,v 1.93 2015/11/14 12:20:19 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 %#hhx", ictx->ch); + log_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 %#hhx", ictx->ch); + log_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 %#hhx", ictx->ch); + log_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); |