diff options
Diffstat (limited to 'avahi-daemon/static-hosts.c')
-rw-r--r-- | avahi-daemon/static-hosts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avahi-daemon/static-hosts.c b/avahi-daemon/static-hosts.c index 6e6def6..b57f0e5 100644 --- a/avahi-daemon/static-hosts.c +++ b/avahi-daemon/static-hosts.c @@ -171,7 +171,7 @@ void static_hosts_load(int in_chroot) { FILE *f; unsigned int line = 0; StaticHost *h, *next; - const char *filename = in_chroot ? "/hosts" : AVAHI_CONFIG_DIR "/hosts"; + const char *filename = AVAHI_HOSTS_FILE; if (!(f = fopen(filename, "r"))) { if (errno != ENOENT) |