diff options
Diffstat (limited to 'avahi-daemon/static-hosts.c')
-rw-r--r-- | avahi-daemon/static-hosts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/avahi-daemon/static-hosts.c b/avahi-daemon/static-hosts.c index 8b1eb58..aba96f7 100644 --- a/avahi-daemon/static-hosts.c +++ b/avahi-daemon/static-hosts.c @@ -155,7 +155,8 @@ void static_hosts_load(int in_chroot) { if (!(f = fopen(filename, "r"))) { - avahi_log_error ("Failed to open static hosts file: %s", strerror (errno)); + if (errno != ENOENT) + avahi_log_error ("Failed to open static hosts file: %s", strerror (errno)); return; } |