Reconcile "names" and "address" counts when reading hostfiles.

This commit is contained in:
Simon Kelley committed 2022-10-30 15:40:20 +00:00
1 parent 34fac952b6
commit d3c21c596e
2 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -306,7 +306,7 @@ int inotify_check(time_t now)
{
const unsigned int removed = cache_remove_uid(ah->index);
if (removed > 0)
my_syslog(LOG_INFO, _("inotify: flushed %u addresses read from %s"), removed, path);
my_syslog(LOG_INFO, _("inotify: flushed %u names read from %s"), removed, path);
/* (Re-)load hostsfile only if this event isn't triggered by deletion */
if (!(in->mask & IN_DELETE))