aboutsummaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
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 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;