summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dvmrpctl
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-10-25 20:23:00 +0000
committerderaadt <deraadt@openbsd.org>2015-10-25 20:23:00 +0000
commitdaa441c55ce848c4b6b6bf376cb9f62478966306 (patch)
treef58b107c236e4cfec22e4f891be250d8060b1938 /usr.sbin/dvmrpctl
parentWrite error message instead of duplicated file name on error. (diff)
downloadwireguard-openbsd-daa441c55ce848c4b6b6bf376cb9f62478966306.tar.xz
wireguard-openbsd-daa441c55ce848c4b6b6bf376cb9f62478966306.zip
pledge "route" no longer needed for if_indextoname & if_nametoindex
Diffstat (limited to 'usr.sbin/dvmrpctl')
-rw-r--r--usr.sbin/dvmrpctl/dvmrpctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dvmrpctl/dvmrpctl.c b/usr.sbin/dvmrpctl/dvmrpctl.c
index d0ed2d87b7e..c433295d798 100644
--- a/usr.sbin/dvmrpctl/dvmrpctl.c
+++ b/usr.sbin/dvmrpctl/dvmrpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dvmrpctl.c,v 1.13 2015/10/10 22:11:37 deraadt Exp $ */
+/* $OpenBSD: dvmrpctl.c,v 1.14 2015/10/25 20:23:00 deraadt Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
@@ -95,7 +95,7 @@ main(int argc, char *argv[])
if (connect(ctl_sock, (struct sockaddr *)&sun, sizeof(sun)) == -1)
err(1, "connect: %s", DVMRPD_SOCKET);
- if (pledge("stdio route", NULL) == -1)
+ if (pledge("stdio", NULL) == -1)
err(1, "pledge");
if ((ibuf = malloc(sizeof(struct imsgbuf))) == NULL)