summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-12-15 17:26:52 +0000
committerNicholas Clark <nick@ccl4.org>2005-12-15 17:26:52 +0000
commited4b2e6b8e3e407b046b3d57848a2e57898d7d60 (patch)
treed2991c081432ed6ebc5550e95ede80ed9b68de81
parent76138434928a968a390c791aec92e5f00017d01d (diff)
downloadperl-ed4b2e6b8e3e407b046b3d57848a2e57898d7d60.tar.gz
Use PL_op_desc rather than literal strings in pp_ioctl
p4raw-id: //depot/perl@26372
-rw-r--r--pp_sys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sys.c b/pp_sys.c
index fe20ead34c..9edf4305b1 100644
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -2182,7 +2182,7 @@ PP(pp_ioctl)
s = INT2PTR(char*,retval); /* ouch */
}
- TAINT_PROPER(optype == OP_IOCTL ? "ioctl" : "fcntl");
+ TAINT_PROPER(PL_op_desc[optype]);
if (optype == OP_IOCTL)
#ifdef HAS_IOCTL