From nobody Sat Apr 02 12:15:32 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 0DE061A639A2; Sat, 2 Apr 2022 12:15:34 +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 4KVwwj6ddTz3qtc; Sat, 2 Apr 2022 12:15:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648901733; 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=OQ+Yw2e58w41AX1+vJ9JYCO5ZGEd+GQlvD51NFh3rF0=; b=pL6o1hSBG9/JXP7pqB6l+RPuRhMnqtAAb8rBWkfZ/xyqAGhhFg91ghrrmW4Dame4HADs8k Lp48S1Lw4TpPY3TjtUIE/w2itBvY77nxYX5qXqsh4hjZT41VtJf2RzoULE/ZeiRUyaFJoS w7e4PUkRSL+2Ma+35OA2JmQaGdqtLe5VQGvZdqYY8CE0C9han9aw0i9y1mqzOlL/x4MV/v kevTQJBUNQI4gylNmhMkUg/x5VebFI/ckb9MdEMF22VgEkAsbgq09ybuIDaS/0DwlmLvD8 m8lpiIbIxzAgTn70/U9gpZJcz18Vcy4TagkeB2tGCkECPEzluuJ5y+MHc9dq8w== 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 C1DD49B9; Sat, 2 Apr 2022 12:15:33 +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 232CFWKw089861; Sat, 2 Apr 2022 12:15:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 232CFWXN089860; Sat, 2 Apr 2022 12:15:32 GMT (envelope-from git) Date: Sat, 2 Apr 2022 12:15:32 GMT Message-Id: <202204021215.232CFWXN089860@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: 7181887e8220 - main - kern: Fix two 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/main X-Git-Reftype: branch X-Git-Commit: 7181887e8220879b0d7fd7dc16e455a7e5e22f7d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648901733; 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=OQ+Yw2e58w41AX1+vJ9JYCO5ZGEd+GQlvD51NFh3rF0=; b=BWVYmTHeQrwao/AwJgaV234W/vt8HKs0XtfMKarmjqiWWaz5qoSCUa6ee72GlCX07fxEdw Dyju6B6UOQ278NWudiZGKDJu5pK51cCN3MKuXx5d5LSYjKMoKqqawcuJ6qQzMJgnrWPMDb YCE741V74fX3eeMbeYLAF9gApvizoq+z55eJ78zI5z/QNPK+qsvnQ9wL2x+jr6kZKY2koy kkEed6WQ7J1Y4VsAp8oX/kklF16EwO6DfRcJ/Q1kqZLV5vdZTJVUYM667ulez8B4NqTlkY BKoWXM65mij0etLAWZ3HOf1PFKG+0jdqj2n4vz4XBUTV+Or0pXt3DakoS9Po/A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648901733; a=rsa-sha256; cv=none; b=Uk5GbGGTiLODtXiIYNpYOXPRJ8PhgipyGUGnYhHywKyWkeJdCvhBRi4RfgfNzcNtogvkfo RSFjTPTagV4hjfoZaZmxJJR8fDPOAzF015EkJf5zsTvBZg3hw9jbfu7EV5KJytg/NvQn9W kzMEDliv3149XVebz8VOZz94xtpxAYvPZVX6q7KEL8kVlRE+npDzZtIjs+uHQmoPc9H22C bIo/a/0f3j5WBEfnNSsQ9VyL0cPCNhSZtaWESxl7PFf+A0rP6VBXE/XB0JqALCXaeIBK7B bWGfVxpADBfH8H11FoKDcCuXimXqV09SAeq9LUUCePp+rE+zWEvcCsuyn4xYhQ== 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=7181887e8220879b0d7fd7dc16e455a7e5e22f7d commit 7181887e8220879b0d7fd7dc16e455a7e5e22f7d Author: Gordon Bergling AuthorDate: 2022-04-02 12:14:31 +0000 Commit: Gordon Bergling CommitDate: 2022-04-02 12:15:27 +0000 kern: Fix two typos in source code comments - s/measurment/measurement/ MFC after: 3 days --- sys/kern/subr_filter.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/kern/subr_filter.c b/sys/kern/subr_filter.c index 9b36058e481c..51c4fd70039b 100644 --- a/sys/kern/subr_filter.c +++ b/sys/kern/subr_filter.c @@ -320,13 +320,13 @@ tick_filter_clock(struct time_filter *tf, uint32_t now) * The other choice would be to fill it in with * zero, but I don't like that option since * some measurement is better than none (even - * if its your oldest measurment). + * if its your oldest measurement). */ for(i=(NUM_FILTER_ENTRIES-2); i>=0 ; i--) { tim = now - tf->entries[i].time_up; time_limit = (tf->cur_time_limit * (NUM_FILTER_ENTRIES-i))/NUM_FILTER_ENTRIES; if (tim >= time_limit) { - /* + /* * This entry is expired, pull down * the next one up. */ @@ -351,13 +351,13 @@ tick_filter_clock_small(struct time_filter_small *tf, uint32_t now) * The other choice would be to fill it in with * zero, but I don't like that option since * some measurement is better than none (even - * if its your oldest measurment). + * if its your oldest measurement). */ for(i=(NUM_FILTER_ENTRIES-2); i>=0 ; i--) { tim = now - tf->entries[i].time_up; time_limit = (tf->cur_time_limit * (NUM_FILTER_ENTRIES-i))/NUM_FILTER_ENTRIES; if (tim >= time_limit) { - /* + /* * This entry is expired, pull down * the next one up. */