From: deraadt Date: Wed, 7 Oct 2015 20:25:22 +0000 (+0000) Subject: use fatal() instead of err(); from benno X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e59563770d3cbb9cde4aa2be1fcf8599901a9a16;p=openbsd use fatal() instead of err(); from benno --- diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c index 7ba006a5c9d..8b9667ed0ba 100644 --- a/usr.sbin/bgpd/session.c +++ b/usr.sbin/bgpd/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.342 2015/10/06 15:39:44 deraadt Exp $ */ +/* $OpenBSD: session.c,v 1.343 2015/10/07 20:25:22 deraadt Exp $ */ /* * Copyright (c) 2003, 2004, 2005 Henning Brauer @@ -220,7 +220,7 @@ session_main(int debug, int verbose) fatal("can't drop privileges"); if (tame("stdio inet recvfd", NULL) == -1) - err(1, "tame"); + fatal("tame"); signal(SIGTERM, session_sighdlr); signal(SIGINT, session_sighdlr);