From: Nicholas Clark Date: Thu, 15 Dec 2005 17:26:52 +0000 (+0000) Subject: Use PL_op_desc rather than literal strings in pp_ioctl X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ed4b2e6b8e3e407b046b3d57848a2e57898d7d60;p=p5sagit%2Fp5-mst-13.2.git Use PL_op_desc rather than literal strings in pp_ioctl p4raw-id: //depot/perl@26372 --- diff --git a/pp_sys.c b/pp_sys.c index fe20ead..9edf430 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