Skip to content

Commit 07457a3

Browse files
committed
utf8.c: Fix panic output function name
When this code was extracted from its earlier function into a new one, the text of this panic message that names the failing function did not get updated correspondingly.
1 parent af99360 commit 07457a3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

utf8.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2215,9 +2215,8 @@ Perl_utf8_to_uv_msgs_helper_(const U8 * const s0,
22152215

22162216
switch (this_problem) {
22172217
default:
2218-
croak("panic: Unexpected case value in "
2219-
" utf8n_to_uvchr_msgs() %" U32uf,
2220-
this_problem);
2218+
croak("panic: Unexpected case value in utf8_to_uv_msgs() %"
2219+
U32uf, this_problem);
22212220
/* NOTREACHED */
22222221
break;
22232222

0 commit comments

Comments
 (0)