summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-07-12 15:44:30 -0600
committerKarl Williamson <khw@cpan.org>2022-07-12 15:45:58 -0600
commitf052c885e6f8bee5243e4c7f2cca2468bd78a8df (patch)
tree81c5d63d06e79cb53b69f4bd42c1274e6be97db6 /locale.c
parent289317cff047710e83333ed9ac07b08f3b716ca7 (diff)
downloadperl-f052c885e6f8bee5243e4c7f2cca2468bd78a8df.tar.gz
locale.c: Reword error message slightly
This is to distinguish it from a previously identical message with a slightly different meaning
Diffstat (limited to 'locale.c')
-rw-r--r--locale.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/locale.c b/locale.c
index c9d0545632..8f7a32ef4c 100644
--- a/locale.c
+++ b/locale.c
@@ -822,7 +822,8 @@ S_emulate_setlocale_i(pTHX_ const unsigned int index, const char * locale)
if (*p++ != '=') {
Perl_croak(aTHX_
- "panic: %s: %d: Unexpected character in locale name '%02X",
+ "panic: %s: %d: Unexpected character in locale category"
+ " name '%02X",
__FILE__, __LINE__, *(p-1));
}