summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/eigrpctl/eigrpctl.c4
-rw-r--r--usr.sbin/relayctl/relayctl.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/eigrpctl/eigrpctl.c b/usr.sbin/eigrpctl/eigrpctl.c
index 98f0bd2826c..32693999d6d 100644
--- a/usr.sbin/eigrpctl/eigrpctl.c
+++ b/usr.sbin/eigrpctl/eigrpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eigrpctl.c,v 1.2 2015/10/10 05:06:00 renato Exp $ */
+/* $OpenBSD: eigrpctl.c,v 1.3 2015/10/12 12:17:36 semarie Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
@@ -98,7 +98,7 @@ main(int argc, char *argv[])
err(1, "connect: %s", EIGRPD_SOCKET);
if (pledge("stdio route", NULL) == -1)
- err(1, "tame");
+ err(1, "pledge");
if ((ibuf = malloc(sizeof(struct imsgbuf))) == NULL)
err(1, NULL);
diff --git a/usr.sbin/relayctl/relayctl.c b/usr.sbin/relayctl/relayctl.c
index 2f8bb5c043c..d0a6b74beb2 100644
--- a/usr.sbin/relayctl/relayctl.c
+++ b/usr.sbin/relayctl/relayctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: relayctl.c,v 1.54 2015/10/10 00:37:40 benno Exp $ */
+/* $OpenBSD: relayctl.c,v 1.55 2015/10/12 12:17:36 semarie Exp $ */
/*
* Copyright (c) 2007 - 2013 Reyk Floeter <reyk@openbsd.org>
@@ -125,7 +125,7 @@ main(int argc, char *argv[])
}
if (pledge("stdio", NULL) == -1)
- err(1, "tame");
+ err(1, "pledge");
if ((ibuf = malloc(sizeof(struct imsgbuf))) == NULL)
err(1, NULL);