* [COMMITTED] [PATCH] 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: libc-alpha, Arjun Shankar
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 --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");
--
2.41.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-09-29 9:44 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 [COMMITTED] [PATCH] 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).