mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Fixup syslog() call that should have used logging function pointer
PR: 236614 Submitted by: Helge Oldach <freebsd@oldach.net>
This commit is contained in:
parent
d6369c2d18
commit
ff92380399
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345276
@ -328,7 +328,7 @@ update(void)
|
|||||||
if (dbi.id[0]) {
|
if (dbi.id[0]) {
|
||||||
run_change("rem", &c, dbi.id, 0);
|
run_change("rem", &c, dbi.id, 0);
|
||||||
sockaddr_snprintf(buf, sizeof(buf), "%a", ss);
|
sockaddr_snprintf(buf, sizeof(buf), "%a", ss);
|
||||||
syslog(LOG_INFO, "released %s/%d:%d after %d seconds",
|
(*lfun)(LOG_INFO, "released %s/%d:%d after %d seconds",
|
||||||
buf, c.c_lmask, c.c_port, c.c_duration);
|
buf, c.c_lmask, c.c_port, c.c_duration);
|
||||||
}
|
}
|
||||||
state_del(state, &c);
|
state_del(state, &c);
|
||||||
|
Loading…
Reference in New Issue
Block a user