Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2019 15:45:07 +0000 (UTC)
From:      Kurt Lidl <lidl@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r345276 - head/contrib/blacklist/bin
Message-ID:  <201903181545.x2IFj7GH018085@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lidl
Date: Mon Mar 18 15:45:06 2019
New Revision: 345276
URL: https://svnweb.freebsd.org/changeset/base/345276

Log:
  Fixup syslog() call that should have used logging function pointer
  
  PR:		236614
  Submitted by:	Helge Oldach <freebsd@oldach.net>

Modified:
  head/contrib/blacklist/bin/blacklistd.c

Modified: head/contrib/blacklist/bin/blacklistd.c
==============================================================================
--- head/contrib/blacklist/bin/blacklistd.c	Mon Mar 18 14:00:19 2019	(r345275)
+++ head/contrib/blacklist/bin/blacklistd.c	Mon Mar 18 15:45:06 2019	(r345276)
@@ -328,7 +328,7 @@ again:
 		if (dbi.id[0]) {
 			run_change("rem", &c, dbi.id, 0);
 			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);
 		}
 		state_del(state, &c);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903181545.x2IFj7GH018085>