diff mbox series

[COMMITTED] resolv: Fix a comment typo in __resolv_conf_load

Message ID 20230929094431.222423-1-arjun@redhat.com
State New
Headers show
Series [COMMITTED] resolv: Fix a comment typo in __resolv_conf_load | expand

Commit Message

Arjun Shankar Sept. 29, 2023, 9:42 a.m. UTC
The file being referred to is host.conf, not hosts.conf.
---
I've committed this as obvious.
---
 resolv/res_init.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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