diff options
Diffstat (limited to 'usr.bin/cut/cut.c')
-rw-r--r-- | usr.bin/cut/cut.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/cut/cut.c b/usr.bin/cut/cut.c index 2f14ce08dd3..7985a04ee93 100644 --- a/usr.bin/cut/cut.c +++ b/usr.bin/cut/cut.c @@ -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 @@ main(int argc, char *argv[]) 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 @@ main(int argc, char *argv[]) } } else { - if (tame("stdio rpath", NULL) == -1) - err(1, "tame"); + if (pledge("stdio rpath", NULL) == -1) + err(1, "pledge"); fcn(stdin, "stdin"); } exit(rval); |