aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
authorArjun Shankar <arjun@redhat.com>2023-09-29 11:35:03 +0200
committerArjun Shankar <arjun@redhat.com>2023-09-29 11:39:27 +0200
commit5f913506f4bf4785f9cf2c2ac8d17dc9f877ff17 (patch)
tree2d323dba50a11fc6bcd161b680ee1bc3b075fd10 /resolv
parent99b4327a553d42c5f999f780a57204894da1d494 (diff)
downloadglibc-5f913506f4bf4785f9cf2c2ac8d17dc9f877ff17.zip
glibc-5f913506f4bf4785f9cf2c2ac8d17dc9f877ff17.tar.gz
glibc-5f913506f4bf4785f9cf2c2ac8d17dc9f877ff17.tar.bz2
resolv: Fix a comment typo in __resolv_conf_load
The file being referred to is host.conf, not hosts.conf.
Diffstat (limited to 'resolv')
-rw-r--r--resolv/res_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/res_init.c b/resolv/res_init.c
index cce842f..7b889ee 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");