summaryrefslogtreecommitdiff
path: root/usr.sbin/route6d
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2015-10-18 14:35:37 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2015-10-18 14:35:37 +0000
commit8e5a52a06694fc86c8d38f93313b7f9bff156e13 (patch)
tree44f1003423c58aaefc9724fcb9ffcb81072abac4 /usr.sbin/route6d
parent8450b3eca7ff0a2c0af2aa07a7bceffff51b10da (diff)
Tweak previous: call fatal(), not err(3), for consistency. err.h goes away.
Diffstat (limited to 'usr.sbin/route6d')
-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();