diff options
Diffstat (limited to 'usr.bin/join/join.c')
-rw-r--r-- | usr.bin/join/join.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/join/join.c b/usr.bin/join/join.c index ee51c1cac20..3049a423196 100644 --- a/usr.bin/join/join.c +++ b/usr.bin/join/join.c @@ -1,4 +1,4 @@ -/* $OpenBSD: join.c,v 1.26 2015/10/07 04:00:45 deraadt Exp $ */ +/* $OpenBSD: join.c,v 1.27 2015/10/09 01:37:07 deraadt Exp $ */ /*- * Copyright (c) 1991, 1993, 1994 @@ -104,8 +104,8 @@ main(int argc, char *argv[]) int aflag, ch, cval, vflag; char *end; - if (tame("stdio rpath", NULL) == -1) - err(1, "tame"); + if (pledge("stdio rpath", NULL) == -1) + err(1, "pledge"); F1 = &input1; F2 = &input2; @@ -211,8 +211,8 @@ main(int argc, char *argv[]) if (F1->fp == stdin && F2->fp == stdin) errx(1, "only one input file may be stdin"); - if (tame("stdio", NULL) == -1) - err(1, "tame"); + if (pledge("stdio", NULL) == -1) + err(1, "pledge"); F1->setusedc = 0; F2->setusedc = 0; |