diff options
Diffstat (limited to 'usr.bin/logname/logname.c')
-rw-r--r-- | usr.bin/logname/logname.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/logname/logname.c b/usr.bin/logname/logname.c index ab7499caf64..618a2d34843 100644 --- a/usr.bin/logname/logname.c +++ b/usr.bin/logname/logname.c @@ -1,4 +1,4 @@ -/* $OpenBSD: logname.c,v 1.8 2015/10/07 14:06:26 deraadt Exp $ */ +/* $OpenBSD: logname.c,v 1.9 2015/10/09 01:37:08 deraadt Exp $ */ /* $NetBSD: logname.c,v 1.6 1994/12/22 06:39:32 jtc Exp $ */ /*- @@ -46,8 +46,8 @@ main(int argc, char *argv[]) setlocale(LC_ALL, ""); - if (tame("stdio", NULL) == -1) - err(1, "tame"); + if (pledge("stdio", NULL) == -1) + err(1, "pledge"); while ((ch = getopt(argc, argv, "")) != -1) switch (ch) { |