diff options
author | TAKAI Kousuke <62541129+t-a-k@users.noreply.github.com> | 2022-10-05 23:34:18 +0900 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-10-13 10:27:43 -0600 |
commit | e27880ac21ce100eceb1e918e221ca0fbe10d095 (patch) | |
tree | c948c4320b6b514fa259eb4d3e311095d22a3f12 /locale.c | |
parent | 78b0aa4aa590b95ef8e01b850c0d643510923b24 (diff) | |
download | perl-e27880ac21ce100eceb1e918e221ca0fbe10d095.tar.gz |
Use `LINE_Tf` for formatting line numbers
Diffstat (limited to 'locale.c')
-rw-r--r-- | locale.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -531,7 +531,7 @@ Perl_locale_panic(const char * msg, #endif /* diag_listed_as: panic: %s */ - Perl_croak(aTHX_ "%s: %d: panic: %s; errno=%d\n", + Perl_croak(aTHX_ "%s: %" LINE_Tf ": panic: %s; errno=%d\n", file_name, line, msg, errnum); } @@ -6037,7 +6037,7 @@ S_toggle_locale_i(pTHX_ const unsigned cat_index, /* If the locales are the same, there's nothing to do */ if (strEQ(locale_to_restore_to, new_locale)) { DEBUG_Lv(PerlIO_printf(Perl_debug_log, - "(%d): %s locale unchanged as %s\n", + "(%" LINE_Tf "): %s locale unchanged as %s\n", caller_line, category_names[cat_index], new_locale)); |