summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-10-07 20:25:22 +0000
committerderaadt <deraadt@openbsd.org>2015-10-07 20:25:22 +0000
commite59563770d3cbb9cde4aa2be1fcf8599901a9a16 (patch)
tree98b15d9e83bc381f70cfae2c46181dd375d5bde0
parentSplit out routing sysctl's from tame "inet", and put them into the (diff)
downloadwireguard-openbsd-e59563770d3cbb9cde4aa2be1fcf8599901a9a16.tar.xz
wireguard-openbsd-e59563770d3cbb9cde4aa2be1fcf8599901a9a16.zip
use fatal() instead of err(); from benno
-rw-r--r--usr.sbin/bgpd/session.c4
1 files changed, 2 insertions, 2 deletions
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 <henning@openbsd.org>
@@ -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);