diff options
Diffstat (limited to 'usr.bin/whois/whois.c')
-rw-r--r-- | usr.bin/whois/whois.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/whois/whois.c b/usr.bin/whois/whois.c index a88660c757b..342b965e3e0 100644 --- a/usr.bin/whois/whois.c +++ b/usr.bin/whois/whois.c @@ -1,4 +1,4 @@ -/* $OpenBSD: whois.c,v 1.49 2015/10/03 01:33:20 deraadt Exp $ */ +/* $OpenBSD: whois.c,v 1.50 2015/10/09 01:37:09 deraadt Exp $ */ /* * Copyright (c) 1980, 1993 @@ -138,8 +138,8 @@ main(int argc, char *argv[]) if (!argc || (country != NULL && host != NULL)) usage(); - if (tame("stdio dns inet", NULL) == -1) - err(1, "tame"); + if (pledge("stdio dns inet", NULL) == -1) + err(1, "pledge"); if (host == NULL && country == NULL && !(flags & WHOIS_QUICK)) flags |= WHOIS_RECURSE; |