diff options
Diffstat (limited to 'usr.bin/grep/grep.c')
-rw-r--r-- | usr.bin/grep/grep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/grep/grep.c b/usr.bin/grep/grep.c index d3536387a9d..f790e1d5d7e 100644 --- a/usr.bin/grep/grep.c +++ b/usr.bin/grep/grep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grep.c,v 1.53 2015/10/03 05:36:34 deraadt Exp $ */ +/* $OpenBSD: grep.c,v 1.54 2015/10/09 01:37:07 deraadt Exp $ */ /*- * Copyright (c) 1999 James Howard and Dag-Erling Coïdan Smørgrav @@ -238,8 +238,8 @@ main(int argc, char *argv[]) char **expr; const char *errstr; - if (tame("stdio rpath", NULL) == -1) - err(1, "tame"); + if (pledge("stdio rpath", NULL) == -1) + err(1, "pledge"); SLIST_INIT(&patfilelh); switch (__progname[0]) { |