From: Arjun Shankar <arjun@redhat.com>
To: libc-alpha@sourceware.org, Arjun Shankar <arjun@redhat.com>
Subject: [COMMITTED] [PATCH] resolv: Fix a comment typo in __resolv_conf_load
Date: Fri, 29 Sep 2023 11:42:53 +0200 [thread overview]
Message-ID: <20230929094431.222423-1-arjun@redhat.com> (raw)
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
reply other threads:[~2023-09-29 9:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230929094431.222423-1-arjun@redhat.com \
--to=arjun@redhat.com \
--cc=libc-alpha@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).