From: semarie Date: Mon, 12 Oct 2015 12:17:36 +0000 (+0000) Subject: two leftovers string missed in tame->pledge conversion X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4581b8e573f33f87b71d3e1b40e6070a37ce2129;p=openbsd two leftovers string missed in tame->pledge conversion ok jsg@ --- 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 @@ -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 @@ -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);