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

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

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