diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-09 01:37:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-09 01:37:11 +0000 |
commit | 7a01108f60e58c5683c269bbbb884090b5a0620f (patch) | |
tree | d28dc1713411066fb4ced6b7bb3fe35eb3a43955 /usr.bin/jot | |
parent | 76228dc5f1e37f76feb11003febafceed8e121f0 (diff) |
Change all tame callers to namechange to pledge(2).
Diffstat (limited to 'usr.bin/jot')
-rw-r--r-- | usr.bin/jot/jot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/jot/jot.c b/usr.bin/jot/jot.c index 2ab180ce069..8952ead4094 100644 --- a/usr.bin/jot/jot.c +++ b/usr.bin/jot/jot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: jot.c,v 1.25 2015/10/06 22:55:51 deraadt Exp $ */ +/* $OpenBSD: jot.c,v 1.26 2015/10/09 01:37:07 deraadt Exp $ */ /* $NetBSD: jot.c,v 1.3 1994/12/02 20:29:43 pk Exp $ */ /*- @@ -84,8 +84,8 @@ main(int argc, char *argv[]) int ch; const char *errstr; - if (tame("stdio", NULL) == -1) - err(1, "tame"); + if (pledge("stdio", NULL) == -1) + err(1, "pledge"); while ((ch = getopt(argc, argv, "rb:w:cs:np:")) != -1) switch (ch) { |