]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
resolv: Fix a comment typo in __resolv_conf_load
authorArjun Shankar <arjun@redhat.com>
Fri, 29 Sep 2023 09:35:03 +0000 (11:35 +0200)
committerArjun Shankar <arjun@redhat.com>
Fri, 29 Sep 2023 09:39:27 +0000 (11:39 +0200)
The file being referred to is host.conf, not hosts.conf.

resolv/res_init.c

index cce842fa9311c5bdba629f5e78c19746f75ef18e..7b889ee0859340c9b1658d59f9ffef5212b8cb71 100644 (file)
@@ -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");