mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
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:
parent
65a184e091
commit
9a8070808e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=349265
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue