[COMMITTED] resolv: Fix a comment typo in __resolv_conf_load

Message ID 20230929094431.222423-1-arjun@redhat.com
State Committed
Commit 5f913506f4bf4785f9cf2c2ac8d17dc9f877ff17
Headers
Series [COMMITTED] resolv: Fix a comment typo in __resolv_conf_load |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_glibc_build--master-arm warning Patch is already merged
linaro-tcwg-bot/tcwg_glibc_check--master-arm warning Patch is already merged

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(-)
  

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