No need for each bsnmpd(1) module to open connection to syslog

bsnmpd(1) main does that early on init and the connection is available
to all loaded modules

Event:		Vienna Hackathon 2019
PR:		233431 , 221487
MFC after:	2 weeks
This commit is contained in:
Shteryana Shopova 2019-06-21 07:45:58 +00:00
parent 65a184e091
commit 9a8070808e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349265

View file

@ -100,7 +100,6 @@ lm75_init(struct lmodule *mod, int argc __unused, char *argv[] __unused)
module = mod;
lm75_sensors = 0;
openlog("snmp_lm75", LOG_NDELAY | LOG_PID, LOG_DAEMON);
return(0);
}