Merge branch 'obsd-master'

pull/2270/head
Thomas Adam 2020-06-09 12:01:18 +01:00
commit 208d9449b7
1 changed files with 1 additions and 1 deletions

2
utf8.c
View File

@ -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;