diff options
author | 2015-10-09 01:37:06 +0000 | |
---|---|---|
committer | 2015-10-09 01:37:06 +0000 | |
commit | 0bd1216cbfac4316d823b5f086842b66ddea2018 (patch) | |
tree | fd4a00b7f31d65ad01880d2fd2d63c87485cacec /usr.bin/paste/paste.c | |
parent | tame -> pledge. (diff) | |
download | wireguard-openbsd-0bd1216cbfac4316d823b5f086842b66ddea2018.tar.xz wireguard-openbsd-0bd1216cbfac4316d823b5f086842b66ddea2018.zip |
Change all tame callers to namechange to pledge(2).
Diffstat (limited to 'usr.bin/paste/paste.c')
-rw-r--r-- | usr.bin/paste/paste.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/paste/paste.c b/usr.bin/paste/paste.c index ee73fbe136d..ef4c62d926b 100644 --- a/usr.bin/paste/paste.c +++ b/usr.bin/paste/paste.c @@ -1,4 +1,4 @@ -/* $OpenBSD: paste.c,v 1.20 2015/10/07 14:12:42 deraadt Exp $ */ +/* $OpenBSD: paste.c,v 1.21 2015/10/09 01:37:08 deraadt Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. @@ -57,8 +57,8 @@ main(int argc, char *argv[]) extern int optind; int ch, seq; - if (tame("stdio rpath", NULL) == -1) - err(1, "tame"); + if (pledge("stdio rpath", NULL) == -1) + err(1, "pledge"); seq = 0; while ((ch = getopt(argc, argv, "d:s")) != -1) { |