1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +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:
Kurt Lidl 2019-03-18 15:45:06 +00:00
parent d6369c2d18
commit ff92380399
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345276

View File

@ -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);