From nobody Sun Sep 04 10:54:09 2022 X-Original-To: dev-commits-src-main@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 4ML7nF2WVhz4bJyq; Sun, 4 Sep 2022 10:54:09 +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 4ML7nF1zKvz4B17; Sun, 4 Sep 2022 10:54:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662288849; 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=bI7IcIvKr3kljD4bfsbHqWni4nqDjJE2Q1nMw9XIoYw=; b=a32NhpGov3TJS37ZngrRdWxHOeI9VYFJsLND05xSh3fjJzLP9RRlh/rGTZJkUsMD66DS30 /t4vPqnelV397IdlgGNrm74EXNsFLHWYC2l4mUPg1XzC0sHUG0GkEpV/wwn0ymXkk+Xlrp sV0+KDerMXQ2iUX+YwZvydRtbyJ++swAI+quYrmPJKfkIhSCOAZNhUlhrQ5qjR9b6vf+er 7Hq5NqQFoOpn3bIoc+LGgQ/PIgfz2ibMfholl3qqayL24xVmnop3LCbtD7wz4g1Wn61gfU o5RhsrxxixPmW0J+le/Jol3tgkfVFt1ZddcLy6ErMxQoLCXVjl9GzzYAAUJi1w== 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 4ML7nF11fDzSZL; Sun, 4 Sep 2022 10:54:09 +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 284As9mI007956; Sun, 4 Sep 2022 10:54:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 284As9ZI007955; Sun, 4 Sep 2022 10:54:09 GMT (envelope-from git) Date: Sun, 4 Sep 2022 10:54:09 GMT Message-Id: <202209041054.284As9ZI007955@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gordon Bergling Subject: git: 09703627879d - main - libifconfig: Correct some typos in source code comments List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 09703627879df49648e065c5e64db7ab807263d1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662288849; 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=bI7IcIvKr3kljD4bfsbHqWni4nqDjJE2Q1nMw9XIoYw=; b=AAwuWkhOocs7KA6DEGgC/150001YFPSsN4qSPQcAJHiQtO3OWEqvHCeg5lpCpFS5xrTIqo F2kkdwE+y6FjJpIReaRBGTcdnkTl4WZeUYFGyvK67Ls72zKjPnCa7+WuxABfprzDR0YyRO tXgJO05vI56BKe0uzvnxVa9+XBA+wGIgpFiphCyr32mpVcxMlJZcRUu/1LB1gR/2g+xHv0 FNvaZnmhHpgUQO59aj3emEZ+Csk7bW3v9hX1/zSEzV3QytxTvlw5T9O7kqqWD3ZkAQyXoK EAAPRzq1knXpM77c8rNL/Yx98cIr9wT1J18O8HGkv938VHrcJc2v4AvZy/E+Fw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662288849; a=rsa-sha256; cv=none; b=CgwRVXjN0r1BtxypVpyw8O4Rp1AJh3FFjupS//1MPWyDnGrnIfrSGbk4Z+Zx7G1WTffD4W xtYUyxlS/+4xMIrpvt0Ho+U5IxMVCE7QTUJbBJVUOLcVc8g0vSATY9g6QILMN4KxVZK5Sa RdaAlH2eRax/4iMpZjtR98a/p8HFm8p3ldup3MnqYj7bADF4MaZeEneARQfwjru2q99kTx QB55actG+4+Gv0nhCrdNgGtSzCZxeDdzab/zTI2cKMnH04F2ug0GbeP9IOkCPDktSbwGz5 m76hF7+3mO2DAiN/ZNrAiOUTOoduw3ZVgUSPWcUN5iw0SK9Fj40uBagk3nSemQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=09703627879df49648e065c5e64db7ab807263d1 commit 09703627879df49648e065c5e64db7ab807263d1 Author: Gordon Bergling AuthorDate: 2022-09-04 10:53:58 +0000 Commit: Gordon Bergling CommitDate: 2022-09-04 10:53:58 +0000 libifconfig: Correct some typos in source code comments - s/occured/occurred/ - s/the the/the/ MFC after: 3 days --- 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 e1cd6d1821a5..c8bbb5edd3bb 100644 --- a/lib/libifconfig/libifconfig.h +++ b/lib/libifconfig/libifconfig.h @@ -129,7 +129,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. */ @@ -285,7 +285,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. @@ -296,7 +296,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; };