aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornicm <nicm>2020-06-09 10:37:00 +0000
committernicm <nicm>2020-06-09 10:37:00 +0000
commitfee585ea1429672922e65a4d3b95a5407143c737 (patch)
tree7c71927ee6e04d018fe55bc70523fcb0eaf392f7
parentc60389acbfbacade1e2822ef9099dabaca0ad08e (diff)
downloadrtmux-fee585ea1429672922e65a4d3b95a5407143c737.tar.gz
rtmux-fee585ea1429672922e65a4d3b95a5407143c737.tar.bz2
rtmux-fee585ea1429672922e65a4d3b95a5407143c737.zip
Include width in error message.
-rw-r--r--utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index 00fd5f09..e3fe570d 100644
--- a/utf8.c
+++ b/utf8.c
@@ -130,7 +130,7 @@ utf8_from_data(const struct utf8_data *ud, utf8_char *uc)
u_int index;
if (ud->width > 2)
- fatalx("invalid UTF-8 width");
+ fatalx("invalid UTF-8 width: %u", ud->width);
if (ud->size > UTF8_SIZE)
goto fail;