From patchwork Fri Sep 29 09:42:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arjun Shankar X-Patchwork-Id: 1841233 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=Hv/3cOZO; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4RxlnX4w7xz1yng for ; Fri, 29 Sep 2023 19:45:04 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6F2293857C66 for ; Fri, 29 Sep 2023 09:45:02 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id BA68B3858C78 for ; Fri, 29 Sep 2023 09:44:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BA68B3858C78 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1695980692; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=U4DSX/aIrdVyuwQ9M1TrdXXy2lOZvG2/6xcq4wBQO5U=; b=Hv/3cOZOq7sxdqa5RqyTBGNWAtWiT29gGxr90ETON1lVKKzZ5qcY1RbSd9zgGmW1tBKMvq nm0JsfiSFAWn3WGrsQ+Iv3qYu/ZKfzKysV443XK7V1Louz2IzUdK80SnUeIo7gX0nNoalq qbTC7sU02mLTpe9sLWARXlAJb/yiZqY= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-416-5jHAJHF6N_-uCv52My9ajQ-1; Fri, 29 Sep 2023 05:44:51 -0400 X-MC-Unique: 5jHAJHF6N_-uCv52My9ajQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D71033806720 for ; Fri, 29 Sep 2023 09:44:50 +0000 (UTC) Received: from x1carbon.redhat.com (unknown [10.45.225.127]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2CA03C15BB8; Fri, 29 Sep 2023 09:44:50 +0000 (UTC) From: Arjun Shankar To: libc-alpha@sourceware.org, Arjun Shankar Subject: [COMMITTED] [PATCH] resolv: Fix a comment typo in __resolv_conf_load Date: Fri, 29 Sep 2023 11:42:53 +0200 Message-ID: <20230929094431.222423-1-arjun@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-10.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SBL_CSS, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org 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");