From nobody Wed Sep 07 07:56:02 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MMvhM01DYz4brwL; Wed, 7 Sep 2022 07:56:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MMvhL6GLzz42rm; Wed, 7 Sep 2022 07:56:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662537362; 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=QkU+zjgBvh323y484pBc31E2bcw/cKLo8O3q17OLmio=; b=DMXGaeAkMQfvhdnmXQM2ssGoyZghKQzxIyABejedBbHRG7ekCapxIj6Uu8ercZAW/DA+B0 EJLMxPN2Hd7bZ/l7FyM5R5kiV8cNO7mrA2bR1/IoyPL7nNz8nqQfB+ePZujmLARMTe5t5k tk8KP37hRD0dlbakFv9r5/Qfuigbuk7GJRYsX5z+hV5w5P7Vl4T4U37vtAKrpWek2ua4k3 a91QXJCTXlWGqu8JNtpSCcRPTUdS6PF/RNck5jfh0LAfLQI5zVqFPXfw+Q5VozxYjYRkJz FaD6greHd6K8X0BsiKGeFE5yBvoox6hqOyy4hMR5lG3Lp0kVv5kvtj6R/jOrzg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MMvhL4zXmzSPS; Wed, 7 Sep 2022 07:56:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2877u291080968; Wed, 7 Sep 2022 07:56:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2877u2nu080967; Wed, 7 Sep 2022 07:56:02 GMT (envelope-from git) Date: Wed, 7 Sep 2022 07:56:02 GMT Message-Id: <202209070756.2877u2nu080967@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Gordon Bergling Subject: git: bc73dd2a87c2 - stable/12 - libifconfig: Correct some typos in source code comments List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: bc73dd2a87c2a990a654e73aa1ec10c13888e506 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662537362; 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=QkU+zjgBvh323y484pBc31E2bcw/cKLo8O3q17OLmio=; b=ayIBaOT9EIulggGl7jD9kHFhlzFaVGA2yst7unuX73dtFwsyGb01DGuAqc0LtvcI/zIciA x9GpVW8PBTKvjI/rnP5xBSJRiIaSCz7IVdhgXo7UgQ+oOc+VwgGU0JZ6FSMSzdVXGcCAwN sVEtojTTzVw4xS8Ha1nXD/dIbHcGe0AGD2MtTruKeaq+9mUzM7ZldiBEEUwQNjASiTZGti w107jSz4nAHXpSrQZRZRD+oryPNLueakNSMPfiKUQBJiq6soIAvq5YWGtA3fUoV3yzNE2Z RGkWBe96r2lQ1MVx1C+bVfVzj3gOB5HN9ZjrSmzJUH+XkepZx9iQaTMS2S0fYA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662537362; a=rsa-sha256; cv=none; b=dVhhwua4DZry4e/orwCy8dXBWkb32gpphVG4lhpOdCrlz2D+7120hFAmIZ8D3CufbhLXTK LzIp+NTnmwrZO2aJC4mNEeixbbITOW9IqpWCXwI+6jfOH78w6TkkiI24/FfciSN9cR+AjL ph7iFv4ob5rIwef4SFDSezB4/MpnHyKGSHAbc+E7eYmnTaDcNj2cDSvVzNrKU2Yw52YoFv JMaoxyOVmH+wnmSKTJ3e+BwtShZ4QXTjVSbwccekVre4ZuHeyGsRjId4CKE89ol9UNs93+ ZJ9JnjdNXq5URNQzB+xMXHfDFWHLWKtCS+GVZMNwA/ZYd9jvbkSBJWMyrfKZEg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=bc73dd2a87c2a990a654e73aa1ec10c13888e506 commit bc73dd2a87c2a990a654e73aa1ec10c13888e506 Author: Gordon Bergling AuthorDate: 2022-09-04 10:53:58 +0000 Commit: Gordon Bergling CommitDate: 2022-09-07 07:54:47 +0000 libifconfig: Correct some typos in source code comments - s/occured/occurred/ - s/the the/the/ (cherry picked from commit 09703627879df49648e065c5e64db7ab807263d1) --- lib/libifconfig/libifconfig.h | 6 +++--- lib/libifconfig/libifconfig_internal.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/libifconfig/libifconfig.h b/lib/libifconfig/libifconfig.h index cd2929f315b4..cfbcb5f94056 100644 --- a/lib/libifconfig/libifconfig.h +++ b/lib/libifconfig/libifconfig.h @@ -125,7 +125,7 @@ ifconfig_handle_t *ifconfig_open(void); */ void ifconfig_close(ifconfig_handle_t *h); -/** Identifies what kind of error occured. */ +/** Identifies what kind of error occurred. */ ifconfig_errtype ifconfig_err_errtype(ifconfig_handle_t *h); /** Retrieves the errno associated with the error, if any. */ @@ -209,7 +209,7 @@ int ifconfig_carp_get_info(ifconfig_handle_t *h, const char *name, /** Retrieve additional information about an inet address * @param h An open ifconfig state object * @param name The interface name - * @param ifa Pointer to the the address structure of interest + * @param ifa Pointer to the address structure of interest * @param addr Return argument. It will be filled with additional information * about the address. * @return 0 on success, nonzero on failure. @@ -220,7 +220,7 @@ int ifconfig_inet_get_addrinfo(ifconfig_handle_t *h, /** Retrieve additional information about an inet6 address * @param h An open ifconfig state object * @param name The interface name - * @param ifa Pointer to the the address structure of interest + * @param ifa Pointer to the address structure of interest * @param addr Return argument. It will be filled with additional information * about the address. * @return 0 on success, nonzero on failure. diff --git a/lib/libifconfig/libifconfig_internal.h b/lib/libifconfig/libifconfig_internal.h index d9803a05c675..77add7574fa8 100644 --- a/lib/libifconfig/libifconfig_internal.h +++ b/lib/libifconfig/libifconfig_internal.h @@ -38,13 +38,13 @@ struct errstate { ifconfig_errtype errtype; /** - * The error occured in this ioctl() request. + * The error occurred in this ioctl() request. * Populated if errtype = IOCTL */ unsigned long ioctl_request; /** - * The value of the global errno variable when the error occured. + * The value of the global errno variable when the error occurred. */ int errcode; };