artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92ebc6d
)
use fatal() instead of err(); from benno
author
deraadt
<deraadt@openbsd.org>
Wed, 7 Oct 2015 20:25:22 +0000
(20:25 +0000)
committer
deraadt
<deraadt@openbsd.org>
Wed, 7 Oct 2015 20:25:22 +0000
(20:25 +0000)
usr.sbin/bgpd/session.c
patch
|
blob
|
history
diff --git
a/usr.sbin/bgpd/session.c
b/usr.sbin/bgpd/session.c
index
7ba006a
..
8b9667e
100644
(file)
--- a/
usr.sbin/bgpd/session.c
+++ b/
usr.sbin/bgpd/session.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: session.c,v 1.34
2 2015/10/06 15:39:44
deraadt Exp $ */
+/* $OpenBSD: session.c,v 1.34
3 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);