From nobody Wed Sep 7 07:32:00 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 4MMv8c2cQHz4bpSP; Wed, 7 Sep 2022 07:32:00 +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 4MMv8c29CWz3q2G; Wed, 7 Sep 2022 07:32:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662535920; 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=BJbjb9TyqwwH9I6OKHvXGS5zfEwKCRTQGk2UispHPtM=; b=WPwQircCgE7SXvzi5ze/zJnfTiH+Cc0hOA8uVB5GfDge/vbpSQaSXo/n6S7uIgdCebFIvT H5LXoJ6fpt8ryQivWda3jeYJVWKFf2MueJpKk5JOXOCDIxqaxB02HCr0PGT6w/jzClG9Uw Doycureqr98omM/znyWoE26Y8tfKIEIE/i1kyhPIsY87UAchR/bdwzM+OE2OxJzfZc8kOk d3xyvhRWrapnQRENvwiZp7kxaTMOLko45hp3p+d33lT+SUo3KSOPbxNhFLSE5KpTfYSBWX 0gN1jzI3JZfO2ffh6I2+YNveEOffVzOlKSL8kyiupB34DR8uucAFe8hdmV9qow== 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 4MMv8c10ByzRyV; Wed, 7 Sep 2022 07:32:00 +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 2877W0GS054546; Wed, 7 Sep 2022 07:32:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2877W0r0054545; Wed, 7 Sep 2022 07:32:00 GMT (envelope-from git) Date: Wed, 7 Sep 2022 07:32:00 GMT Message-Id: <202209070732.2877W0r0054545@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: 8d1d06349efa - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 8d1d06349efade4ffc32ea63cf92b050923cdaa6 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662535920; 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=BJbjb9TyqwwH9I6OKHvXGS5zfEwKCRTQGk2UispHPtM=; b=qicRJFgZlUiTL5ZxzMvpXZC+r2KA9xNJxaczNuZv+nVRyE6k0syuPgNAeAnRElcQ0JLp8x K7YaeL2eEWkKk7oejVIZUFSFWjahLY+sCDYOWIgspghk4U3j9OBrTe4jcwKVmHcp6AEdts 39brpKdYJMZjkWfn2IguR1fJls+kFFsE1WGkFSGgMvuzy1xwnWtrZ4fpiDwy/ci596NUum US4INqDwTV6Pwa0VlWJihmMPd4hRBx3zvcS9y5kz0g5Mowj6OAweJqOMG5BmTlWzAixAb2 ZR8do+gnnLEIFmXFRaZikVUL6MDeV/sZSqcGZHpP+DE61L44iaHTj8ZG3UyLGA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662535920; a=rsa-sha256; cv=none; b=VvWOq8XLY10aEWHZy7pZj03nUYCdWpb5/Yk6slyJFEQzcbF1bn55OKBbjNzpIxB8OZvdLG A06wAKazby8e6wq2tseGq0VoOE1UEOuJmEvuJAQbqripqFicjXu+f3ET/Nvp/Yghgu0DUc GzFrM5GERLk7V0x6UbbTYc/wFhKfK3cPP8j5/J4m8ajnPBJy3IQasshWJNCbnUffleiG73 GW8ua/kPfSlmaVK8tasAUGBZsaG7MKR4MFE8tr7KeL5Mw6KGNEu58kugqM9EZT/Cydn11U 9qQqxVpg0YQVzL6epgzX+joDr2Qw+aRaotwJ9el7JuX4nXuboHNLcvrA66piQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=8d1d06349efade4ffc32ea63cf92b050923cdaa6 commit 8d1d06349efade4ffc32ea63cf92b050923cdaa6 Author: Gordon Bergling AuthorDate: 2022-09-04 10:53:58 +0000 Commit: Gordon Bergling CommitDate: 2022-09-07 07:30:43 +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 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; };