From 5f913506f4bf4785f9cf2c2ac8d17dc9f877ff17 Mon Sep 17 00:00:00 2001 From: Arjun Shankar Date: Fri, 29 Sep 2023 11:35:03 +0200 Subject: [PATCH] resolv: Fix a comment typo in __resolv_conf_load The file being referred to is host.conf, not hosts.conf. --- resolv/res_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resolv/res_init.c b/resolv/res_init.c index cce842fa93..7b889ee085 100644 --- a/resolv/res_init.c +++ b/resolv/res_init.c @@ -553,7 +553,7 @@ struct resolv_conf * __resolv_conf_load (struct __res_state *preinit, struct file_change_detection *change) { - /* Ensure that /etc/hosts.conf has been loaded (once). */ + /* Ensure that /etc/host.conf has been loaded (once). */ _res_hconf_init (); FILE *fp = fopen (_PATH_RESCONF, "rce");