diff options
Diffstat (limited to 'bin/sleep/sleep.c')
-rw-r--r-- | bin/sleep/sleep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/sleep/sleep.c b/bin/sleep/sleep.c index ba8ec348c26..fe49ccff47e 100644 --- a/bin/sleep/sleep.c +++ b/bin/sleep/sleep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sleep.c,v 1.22 2015/10/03 03:10:38 deraadt Exp $ */ +/* $OpenBSD: sleep.c,v 1.23 2015/10/09 01:37:06 deraadt Exp $ */ /* $NetBSD: sleep.c,v 1.8 1995/03/21 09:11:11 cgd Exp $ */ /* @@ -54,8 +54,8 @@ main(int argc, char *argv[]) struct timespec rqtp; int i; - if (tame("stdio", NULL) == -1) - err(1, "tame"); + if (pledge("stdio", NULL) == -1) + err(1, "pledge"); signal(SIGALRM, alarmh); |