diff options
author | Karl Williamson <khw@cpan.org> | 2022-08-17 20:58:05 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-08-17 20:59:19 -0600 |
commit | b5016ef43e0903ab6fd3889eb7e752c27e153505 (patch) | |
tree | acd6884791e6a75d1a231a1c4275439c68b9be36 | |
parent | a35de6eaf813839ee86655e13764cbff22e8484b (diff) | |
download | perl-b5016ef43e0903ab6fd3889eb7e752c27e153505.tar.gz |
locale.c: Fix wrongly worded panic error message
This was a copy/paste error. The message wasn't changed to match the
new situation it was being called from.
-rw-r--r-- | locale.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1139,8 +1139,8 @@ S_emulate_setlocale_i(pTHX_ * modified, as otherwise newlocale() is free to do so */ basis_obj = duplocale(entry_obj); if (! basis_obj) { - setlocale_failure_panic_i(index, "switching back to", - locale_on_entry, __LINE__, line); + locale_panic_(Perl_form(aTHX_ "(%" LINE_Tf "): duplocale failed", + line)); NOT_REACHED; /* NOTREACHED */ } |