summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/telnet/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/telnet/main.c b/usr.bin/telnet/main.c
index e524ce3bc13..6d42c75969c 100644
--- a/usr.bin/telnet/main.c
+++ b/usr.bin/telnet/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.34 2015/11/13 18:05:37 schwarze Exp $ */
+/* $OpenBSD: main.c,v 1.35 2015/11/19 22:01:33 deraadt Exp $ */
/* $NetBSD: main.c,v 1.5 1996/02/28 21:04:05 thorpej Exp $ */
/*
@@ -169,7 +169,7 @@ main(int argc, char *argv[])
exit(1);
}
- if (pledge("stdio rpath wpath getpw inet tty", NULL) == -1) {
+ if (pledge("stdio rpath wpath getpw dns inet tty", NULL) == -1) {
perror("pledge");
exit(1);
}