=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cut/cut.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- src/usr.bin/cut/cut.c 2015/10/05 13:27:45 1.20 +++ src/usr.bin/cut/cut.c 2015/10/09 01:37:07 1.21 @@ -1,4 +1,4 @@ -/* $OpenBSD: cut.c,v 1.20 2015/10/05 13:27:45 deraadt Exp $ */ +/* $OpenBSD: cut.c,v 1.21 2015/10/09 01:37:07 deraadt Exp $ */ /* $NetBSD: cut.c,v 1.9 1995/09/02 05:59:23 jtc Exp $ */ /* @@ -63,8 +63,8 @@ setlocale (LC_ALL, ""); - if (tame("stdio rpath", NULL) == -1) - err(1, "tame"); + if (pledge("stdio rpath", NULL) == -1) + err(1, "pledge"); dchar = '\t'; /* default delimiter is \t */ @@ -121,8 +121,8 @@ } } else { - if (tame("stdio rpath", NULL) == -1) - err(1, "tame"); + if (pledge("stdio rpath", NULL) == -1) + err(1, "pledge"); fcn(stdin, "stdin"); } exit(rval);