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/ldpd.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/ldpd.c')
-rw-r--r-- | usr.sbin/ldpd/ldpd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ldpd/ldpd.c b/usr.sbin/ldpd/ldpd.c index 718702c9371..d912b8830eb 100644 --- a/usr.sbin/ldpd/ldpd.c +++ b/usr.sbin/ldpd/ldpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ldpd.c,v 1.59 2016/09/28 14:39:52 krw Exp $ */ +/* $OpenBSD: ldpd.c,v 1.60 2017/01/20 12:19:18 benno Exp $ */ /* * Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org> @@ -113,6 +113,7 @@ main(int argc, char *argv[]) conffile = CONF_FILE; ldpd_process = PROC_MAIN; + log_procname = log_procnames[ldpd_process]; log_init(1); /* log to stderr until daemonized */ log_verbose(1); |