summaryrefslogtreecommitdiff
path: root/pp_sys.c
diff options
context:
space:
mode:
Diffstat (limited to 'pp_sys.c')
-rw-r--r--pp_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sys.c b/pp_sys.c
index 2845266ac6..23cdd5b7a9 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -1449,7 +1449,7 @@ PP(pp_leavewrite)
if (!fp) {
if (IoIFP(io))
report_wrongway_fh(gv, '<');
- else if (ckWARN(WARN_CLOSED))
+ else
report_evil_fh(gv);
PUSHs(&PL_sv_no);
}