summaryrefslogtreecommitdiffstats
path: root/usr.sbin/inetd/inetd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/inetd/inetd.c')
-rw-r--r--usr.sbin/inetd/inetd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c
index e86dc041985..01cd6cc286f 100644
--- a/usr.sbin/inetd/inetd.c
+++ b/usr.sbin/inetd/inetd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inetd.c,v 1.147 2015/10/22 12:34:25 deraadt Exp $ */
+/* $OpenBSD: inetd.c,v 1.148 2015/11/01 00:31:18 deraadt Exp $ */
/*
* Copyright (c) 1983,1991 The Regents of the University of California.
@@ -346,7 +346,7 @@ main(int argc, char *argv[])
(void) setlogin("");
}
- if (pledge("stdio rpath getpw dns inet proc exec id", NULL) == -1)
+ if (pledge("stdio rpath getpw dns inet unix proc exec id", NULL) == -1)
err(1, "pledge");
if (uid == 0) {