summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index 9a7e91b424..6be77cc042 100644
--- a/regexec.c
+++ b/regexec.c
@@ -377,7 +377,7 @@ Perl_re_intuit_start(pTHX_ regexp *prog, SV *sv, char *strpos,
#ifdef DEBUGGING /* 7/99: reports of failure (with the older version) */
if (end_shift < 0)
- croak("panic: end_shift");
+ Perl_croak(aTHX_ "panic: end_shift");
#endif
check = prog->check_substr;