summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/log.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2006-01-05 17:33:41 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2006-01-05 17:33:41 +0000
commit7a6358c17e4ce7f449f6d4ac90357611005948bb (patch)
tree81ce68872347da6d620ddde6936de910bf47e640 /usr.sbin/bgpd/log.c
parent76a42b6b712c20eebab5e0787a12fd9f116d1cc6 (diff)
Kill ENSURE(), remove ensure.h, say bye bye to fatal_ensure() and
one hip hip hooray from Henning.
Diffstat (limited to 'usr.sbin/bgpd/log.c')
-rw-r--r--usr.sbin/bgpd/log.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/usr.sbin/bgpd/log.c b/usr.sbin/bgpd/log.c
index 1cea36f0598..e1236a5e9a5 100644
--- a/usr.sbin/bgpd/log.c
+++ b/usr.sbin/bgpd/log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.c,v 1.47 2006/01/03 22:19:59 claudio Exp $ */
+/* $OpenBSD: log.c,v 1.48 2006/01/05 17:33:40 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -229,17 +229,6 @@ fatalx(const char *emsg)
}
void
-fatal_ensure(const char *file, int line, const char *cond)
-{
- logit(LOG_CRIT, "ENSURE (%s) failed in file %s on line %d",
- cond, file, line);
-
- /* XXX check which process we are and notify others! */
- sleep(10);
- _exit(1);
-}
-
-void
log_statechange(struct peer *peer, enum session_state nstate,
enum session_events event)
{