summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjca <jca@openbsd.org>2015-10-18 14:35:36 +0000
committerjca <jca@openbsd.org>2015-10-18 14:35:36 +0000
commit5ec85b7967e5b47d9ca4f527cb502d6f129819c4 (patch)
tree0a2e1b8390e0afd4c48fecad9c934e598a19ccce
parentregress pledge: test kill() (diff)
downloadwireguard-openbsd-5ec85b7967e5b47d9ca4f527cb502d6f129819c4.tar.xz
wireguard-openbsd-5ec85b7967e5b47d9ca4f527cb502d6f129819c4.zip
Tweak previous: call fatal(), not err(3), for consistency. err.h goes away.
-rw-r--r--usr.sbin/route6d/route6d.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/route6d/route6d.c b/usr.sbin/route6d/route6d.c
index 5cc70d3495d..4085e8ac338 100644
--- a/usr.sbin/route6d/route6d.c
+++ b/usr.sbin/route6d/route6d.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route6d.c,v 1.69 2015/10/17 01:01:09 jca Exp $ */
+/* $OpenBSD: route6d.c,v 1.70 2015/10/18 14:35:36 jca Exp $ */
/* $KAME: route6d.c,v 1.111 2006/10/25 06:38:13 jinmei Exp $ */
/*
@@ -42,7 +42,6 @@
#include <stddef.h>
#include <stdint.h>
#include <errno.h>
-#include <err.h>
#include <util.h>
#include <poll.h>
@@ -348,7 +347,7 @@ main(int argc, char *argv[])
init();
if (pledge("stdio rpath wpath cpath inet route mcast", NULL) == -1)
- err(1, "pledge");
+ fatal("pledge");
ifconfig();