summaryrefslogtreecommitdiffstats
path: root/utf8.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-06-09 12:01:18 +0100
committerThomas Adam <thomas@xteddy.org>2020-06-09 12:01:18 +0100
commit208d9449b75a8417a473cc40867c50b6b0bc02dd (patch)
treeedb70b2676d99a2b347587931c43aa83f08b6875 /utf8.c
parent30eaf885c423cd7b513822245b89508e506c83e8 (diff)
parentfee585ea1429672922e65a4d3b95a5407143c737 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index a83e3d38..5ba41e9a 100644
--- a/utf8.c
+++ b/utf8.c
@@ -129,7 +129,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;