summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2020-11-05 11:53:00 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2020-11-05 11:53:00 +0000
commit688508f634e1b60d1deaa3677fd6abfb95c8319d (patch)
tree8a9733a99e0f5cea1d386f781ee80fa3d288bc31 /usr.sbin/bgpd/rde.c
parentaae82fbebba0631e7de1ac7a8c9d421830e8281f (diff)
Kill bgpd_process, nothing uses it anymore. Instead pass the process
type directly to log init. One less common in bgpd. OK benno@
Diffstat (limited to 'usr.sbin/bgpd/rde.c')
-rw-r--r--usr.sbin/bgpd/rde.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c
index 8507ea657cb..434984c3a11 100644
--- a/usr.sbin/bgpd/rde.c
+++ b/usr.sbin/bgpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.504 2020/11/05 11:51:13 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.505 2020/11/05 11:52:59 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -157,8 +157,7 @@ rde_main(int debug, int verbose)
log_init(debug, LOG_DAEMON);
log_setverbose(verbose);
- bgpd_process = PROC_RDE;
- log_procinit(log_procnames[bgpd_process]);
+ log_procinit(log_procnames[PROC_RDE]);
if ((pw = getpwnam(BGPD_USER)) == NULL)
fatal("getpwnam");