summaryrefslogtreecommitdiff
path: root/taint.c
diff options
context:
space:
mode:
Diffstat (limited to 'taint.c')
-rw-r--r--taint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/taint.c b/taint.c
index 4d000a1b36..0fe6f3286a 100644
--- a/taint.c
+++ b/taint.c
@@ -27,9 +27,9 @@ Perl_taint_proper(pTHX_ const char *f, char *s)
else
ug = " while running with -T switch";
if (!PL_unsafe)
- croak(f, s, ug);
+ Perl_croak(aTHX_ f, s, ug);
else if (ckWARN(WARN_TAINT))
- warner(WARN_TAINT, f, s, ug);
+ Perl_warner(aTHX_ WARN_TAINT, f, s, ug);
}
}