From: jca Date: Sun, 18 Oct 2015 14:35:36 +0000 (+0000) Subject: Tweak previous: call fatal(), not err(3), for consistency. err.h goes away. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5ec85b7967e5b47d9ca4f527cb502d6f129819c4;p=openbsd Tweak previous: call fatal(), not err(3), for consistency. err.h goes away. --- 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 #include #include -#include #include #include @@ -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();