diff options
author | Sebastian Benoit <benno@cvs.openbsd.org> | 2017-01-20 12:19:19 +0000 |
---|---|---|
committer | Sebastian Benoit <benno@cvs.openbsd.org> | 2017-01-20 12:19:19 +0000 |
commit | 40894ea26704129dabb61f6cd38d7923fe901def (patch) | |
tree | d5b9784ee8a87aec03681b0b732be8e9aa21a2fb /usr.sbin/ldpd/ldpe.c | |
parent | b0f4f969b3aeb2539211fbdb4691aacde9d4330e (diff) |
work on making log.c similar in all daemons:
move daemon-local functions into new logmsg.c, and reduce
the (mostly whitespace) differences so that log.c's can be diffed easily.
removal of log_rtmsg() aproved by claudio@
ok claudio@ krw@
Diffstat (limited to 'usr.sbin/ldpd/ldpe.c')
-rw-r--r-- | usr.sbin/ldpd/ldpe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ldpd/ldpe.c b/usr.sbin/ldpd/ldpe.c index 218e431fbf7..95fe65a1a8a 100644 --- a/usr.sbin/ldpd/ldpe.c +++ b/usr.sbin/ldpd/ldpe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ldpe.c,v 1.70 2016/09/02 17:10:34 renato Exp $ */ +/* $OpenBSD: ldpe.c,v 1.71 2017/01/20 12:19:18 benno Exp $ */ /* * Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org> @@ -78,6 +78,7 @@ ldpe(int debug, int verbose) setproctitle("ldp engine"); ldpd_process = PROC_LDP_ENGINE; + log_procname = log_procnames[ldpd_process]; /* create ldpd control socket outside chroot */ if (control_init() == -1) |