Chip noticed that the intended optionality of the 'IV' was
[p5sagit/p5-mst-13.2.git] / pp_sort.c
index b109f37..e4b9524 100644 (file)
--- a/pp_sort.c
+++ b/pp_sort.c
@@ -1455,8 +1455,8 @@ PP(pp_sort)
                else if (gv) {
                    SV *tmpstr = sv_newmortal();
                    gv_efullname3(tmpstr, gv, Nullch);
-                   DIE(aTHX_ "Undefined sort subroutine \"%s\" called",
-                       SvPVX(tmpstr));
+                   DIE(aTHX_ "Undefined sort subroutine \"%"SVf"\" called",
+                       tmpstr);
                }
                else {
                    DIE(aTHX_ "Undefined subroutine in sort");