From nobody Fri Jun 2 02:33:46 2023 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 4QXRrq1pP5z4ZN9S; Fri, 2 Jun 2023 02:33:47 +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 4QXRrq1NHxz3PWZ; Fri, 2 Jun 2023 02:33:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685673227; 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=rl/4lGehzrDAnnVSp94gBbDyC8RuRkyiORkyepkCUzI=; b=co4yN5aQxSoDl+Jfxa7otlgM2jxxdKEndARu5nGpQ53q6TD4KYFw5x/lL6XJ0fOa9ujTHr I4uJGVHFzp1Lilsa0qhKQzL5xVmsqsBd9SWxgF348Pcq4GHQOrhv5gNAmFw6IZwdRkYdKZ v+G+YV+G6UXbNlG291LJUJzzDjD34IdMt9BWMyuI7uPuX6Ckjbc66A1XxGQb/2Vl77/Acu XQ//NAfh42yxnP0RIdFPmjqHDb8haMhJ33vJP8Q5ePTl1C0WnAC521LgkGFJqMvfVkgMjg /hng3lpWjsbKtKHig/wT9Bw5Nnu2mvyu6UO2L0QxvGWCkq81rgzJ7Lhttq3jHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685673227; 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=rl/4lGehzrDAnnVSp94gBbDyC8RuRkyiORkyepkCUzI=; b=Ce8IhIaxIkuKF33wCkphoaOYKe1kFFsBO6P9mk2oFc8XA/1EbaOC1AEaJnfRif/4q0RHRh Sbq8Oi7QeevZL0KU0jxj6v4Aa/NfHhEUAS90EerGV/MHgRZEyRBLc6Bhxo/C3rAa0fE1rx tp65zxG09m4qKgLkt9qBFzgXGuXgFmib3jYJ7OOS9WEwx2baaYmSCi2U032E8SuKAl0sLT oCPOdl5EtMR5E1JiD8zEjXliAo5xOhx3Wpo4Sa5wzP/kmopuhO4zbOfylD3UFxjXW4yUqj UmZ1uLPhu2SReLFxfCpbgxVoEmncyspHTbwDE2GZkeBx3D5ng+RvNtxmVYMCIw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685673227; a=rsa-sha256; cv=none; b=cT3yWZqdTX9rozSrDQ4Nm/QyjefJblWyrHEBZAuYITWhHRLDv7Cri++U0vz0+As5H3NV12 BxLlNetOuT04efXwUef0JbXbGshgHlNUKNphLhTez/AaeAF0ZgD7C9wgZq1ZgWXRE1HNHO trccoVtfaehWsoaVjcEQDQJoInOOPa3+XxZj3pqztUhFI27QfYRKLg2zXXMjoLs6xL8nKb BJ2SxLV0hG7DS+cJ/prTBtGmLCNiyCcfJwSOKdnzWVF8kW2voU6Ti0QgWq5npGEf3Pdy86 3Sh5Pd2yXkKKrrwQq0DH4A98iIG53opfgSD0gh47g83ats16Ygxn/RjrI/lO6g== 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 4QXRrq0Nf4zhNT; Fri, 2 Jun 2023 02:33:47 +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 3522XkDb005199; Fri, 2 Jun 2023 02:33:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3522XkiD005198; Fri, 2 Jun 2023 02:33:46 GMT (envelope-from git) Date: Fri, 2 Jun 2023 02:33:46 GMT Message-Id: <202306020233.3522XkiD005198@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: de8b490010ad - main - bsnmpd/modules/snmp_hostres: Fix typos 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: de8b490010adf3f0b55783ce65812ce748f86259 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=de8b490010adf3f0b55783ce65812ce748f86259 commit de8b490010adf3f0b55783ce65812ce748f86259 Author: Elyes Haouas AuthorDate: 2023-06-01 23:41:31 +0000 Commit: Warner Losh CommitDate: 2023-06-02 02:33:39 +0000 bsnmpd/modules/snmp_hostres: Fix typos Signed-off-by: Elyes Haouas Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/653 --- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c | 6 +++--- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.h | 4 ++-- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_storage_tbl.c | 2 +- usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c b/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c index 872b8a5da329..3006629b1f76 100644 --- a/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c +++ b/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_scalars.c @@ -248,7 +248,7 @@ OS_getSystemMaxProcesses(uint32_t *mproc) } /* - * Get the physical memeory size in Kbytes. + * Get the physical memory size in Kbytes. * Returns SNMP error code. */ static int @@ -342,7 +342,7 @@ OS_setSystemDate(const struct timeval *timeval_to_set) } /* - * prototype of this function was genrated by gensnmptree tool in header file + * prototype of this function was generated by gensnmptree tool in header file * hostres_tree.h * Returns SNMP_ERR_NOERROR on success */ @@ -437,7 +437,7 @@ op_hrSystem(struct snmp_context *ctx, struct snmp_value *value, } /* - * prototype of this function was genrated by gensnmptree tool + * prototype of this function was generated by gensnmptree tool * in the header file hostres_tree.h * Returns SNMP_ERR_NOERROR on success */ diff --git a/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.h b/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.h index 5c11573df198..53ad3eed3638 100644 --- a/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.h +++ b/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_snmp.h @@ -127,7 +127,7 @@ struct device_entry { uint32_t errors; #define HR_DEVICE_FOUND 0x001 - /* not dectected by libdevice, so don't try to refresh it*/ + /* not detected by libdevice, so don't try to refresh it*/ #define HR_DEVICE_IMMUTABLE 0x002 /* next 3 are not from the SNMP mib table, only to be used internally */ @@ -210,7 +210,7 @@ const struct asn_oid *fs_get_type(const struct statfs *); * refreshing hrFSTable by refreshing hrStorageTable. * When one entry "of type" fs from hrStorageTable is refreshed * then the corresponding entry from hrFSTable is refreshed - * FS_tbl_pre_refresh_v() is called before refeshing fs part of hrStorageTable + * FS_tbl_pre_refresh_v() is called before refreshing fs part of hrStorageTable */ void fs_tbl_pre_refresh(void); void fs_tbl_process_statfs_entry(const struct statfs *, int32_t); diff --git a/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_storage_tbl.c b/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_storage_tbl.c index f7b6537c289d..70ae55aa3cbf 100644 --- a/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_storage_tbl.c +++ b/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_storage_tbl.c @@ -56,7 +56,7 @@ #include "hostres_oid.h" #include "hostres_tree.h" -/* maximum length for descritpion string according to MIB */ +/* maximum length for description string according to MIB */ #define SE_DESC_MLEN (255 + 1) /* diff --git a/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c b/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c index 4cb0fc323139..41bbc18b0c60 100644 --- a/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c +++ b/usr.sbin/bsnmpd/modules/snmp_hostres/hostres_swrun_tbl.c @@ -548,7 +548,7 @@ invalidate_swrun_entry(struct swrun_entry *entry, int commit) } /** - * Popuplate the hrSWRunTable. + * Populate the hrSWRunTable. */ void init_swrun_tbl(void) @@ -575,7 +575,7 @@ fini_swrun_tbl(void) /* * This is the implementation for a generated (by a SNMP tool) * function prototype, see hostres_tree.h - * It hanldes the SNMP operations for hrSWRunTable + * It handles the SNMP operations for hrSWRunTable */ int op_hrSWRunTable(struct snmp_context *ctx __unused, struct snmp_value *value,