public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] resolv: Fix a comment typo in __resolv_conf_load
@ 2023-09-29  9:42 Arjun Shankar
  0 siblings, 0 replies; only message in thread
From: Arjun Shankar @ 2023-09-29  9:42 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5f913506f4bf4785f9cf2c2ac8d17dc9f877ff17

commit 5f913506f4bf4785f9cf2c2ac8d17dc9f877ff17
Author: Arjun Shankar <arjun@redhat.com>
Date:   Fri Sep 29 11:35:03 2023 +0200

    resolv: Fix a comment typo in __resolv_conf_load
    
    The file being referred to is host.conf, not hosts.conf.

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-29  9:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-29  9:42 [glibc] resolv: Fix a comment typo in __resolv_conf_load Arjun Shankar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).