summaryrefslogtreecommitdiff
path: root/usr.sbin/eigrpctl/eigrpctl.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-10-29 02:54:30 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-10-29 02:54:30 +0000
commitb7703a285ccde8b3f13101f7e02f990ed6b46eb9 (patch)
treeb6a793350024a8abd5e838a8040abea7e6f32972 /usr.sbin/eigrpctl/eigrpctl.c
parentfef286005b2e6cda5208bca88f6c8396f581b52f (diff)
Almost assuredly no longer needs pledge "route"
Diffstat (limited to 'usr.sbin/eigrpctl/eigrpctl.c')
-rw-r--r--usr.sbin/eigrpctl/eigrpctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/eigrpctl/eigrpctl.c b/usr.sbin/eigrpctl/eigrpctl.c
index 32693999d6d..80da2317687 100644
--- a/usr.sbin/eigrpctl/eigrpctl.c
+++ b/usr.sbin/eigrpctl/eigrpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eigrpctl.c,v 1.3 2015/10/12 12:17:36 semarie Exp $ */
+/* $OpenBSD: eigrpctl.c,v 1.4 2015/10/29 02:54:29 deraadt Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
@@ -97,7 +97,7 @@ main(int argc, char *argv[])
if (connect(ctl_sock, (struct sockaddr *)&sun, sizeof(sun)) == -1)
err(1, "connect: %s", EIGRPD_SOCKET);
- if (pledge("stdio route", NULL) == -1)
+ if (pledge("stdio", NULL) == -1)
err(1, "pledge");
if ((ibuf = malloc(sizeof(struct imsgbuf))) == NULL)