From nobody Sat Apr 02 11:51:53 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 9CF051A5D177; Sat, 2 Apr 2022 11:51:53 +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 4KVwPP3Kh1z3jXk; Sat, 2 Apr 2022 11:51:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648900313; 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=3obuKBoE6XXGcD0b/7BvVeTx7BowoqsdgAB1ZtVxL70=; b=lAjDLNJsP+b8VUigklA2Y3wPRuFDvcTaG+VNcFEU3WBP8JPMuDP48HP+tAig+VyHpmo7A4 znE98tHml8MYX7Oy+reY+ItbYK39bq6l6zWlzGre3FiRcHbBOarVztfs09emUfr3Ra1HZe jxQoqz6oCEsWuCjBGQ/h7q000taagdHqho0FFgs1EDlQXGo6VTgninYwj3QURLNgHG3eKP 9KdgA7+DP/luD3fwdb3Vmngqgog12nMuT6K1U4iaEyt4thfHRXN9AJgfEqIgiuzktK1nKv ODX1QPrDjMAW/gz9xGNUHsHtH9S9NQz22z1c1qF+mBVxslDcEvW8aCP+Lo4cgA== 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 53A2A486; Sat, 2 Apr 2022 11:51:53 +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 232BprXv060375; Sat, 2 Apr 2022 11:51:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 232Bprn1060374; Sat, 2 Apr 2022 11:51:53 GMT (envelope-from git) Date: Sat, 2 Apr 2022 11:51:53 GMT Message-Id: <202204021151.232Bprn1060374@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: f167c46e7965 - main - memguard(9): 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: f167c46e7965ae08255313c4a624be19b4873442 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1648900313; 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=3obuKBoE6XXGcD0b/7BvVeTx7BowoqsdgAB1ZtVxL70=; b=SUn3CnKk7t8bVT565DWRyHVZuulz9sTJJ+j+ZXET9FrUeVQ4/UYFeX/8b8SrNpf7KzHXLU LxLHEk6EoqDAYetbFgIh9LZnBS5rHHbRT6lr5FTPmW2b9HsfMxSpzpvq/CwBohLCJVUv4E E0Tf8dgtEurGmKkXQ7myo/fEjeNrjEVRr8dOLQijnguiBuPHdpf8dBSJqY5dKOqZNojWjC 2lSdnhnxh05b2ZsW18IF/sx9u0uo1dfdYkfJCvHemkoLp5eXXD4cCNEgnNEkJp8/kNbzyO wLrS/yauAmAqgtCjj3eEYecsd3TrEwgvn++MwCougNa+DFRzu68rB66Fcelisw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1648900313; a=rsa-sha256; cv=none; b=JFDUAYZ5JPcGXbadAwj8318qAq91wWhMmdaZ+86kz+U+ARMnTCcCxFjEapFrUaunWR7hre D6oIEypQsEg6QYLiI9DO+1V1syTbDx+wpzDxxnptPz5IYzmPI/6WX2W2MLqk/C3I33hlba 5eO9su8m0eAIG8kIlgrBYI9GBJ8BVy0rUKwdBXwrrq+mR9inltlpf9hB51y9ReOt5ni/1w KTUPs71945gReS+crY4D1NfQ3WWXFIKQWRhUdcwi9MtSLUf5XBvRZwO8vKhAKdEsBJRyOW SB3eIZxXW9PLVgfjRPxK5Cc3YEw8rcZW6OgGM4TLPPp/uNP025NieHNM/EgSoQ== 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=f167c46e7965ae08255313c4a624be19b4873442 commit f167c46e7965ae08255313c4a624be19b4873442 Author: Gordon Bergling AuthorDate: 2022-04-02 11:51:27 +0000 Commit: Gordon Bergling CommitDate: 2022-04-02 11:51:27 +0000 memguard(9): Fix two typos in source code comments - s/comparsion/comparison/ MFC after: 3 days --- sys/vm/memguard.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/vm/memguard.c b/sys/vm/memguard.c index 20de6edfc339..bb6493ae5536 100644 --- a/sys/vm/memguard.c +++ b/sys/vm/memguard.c @@ -464,7 +464,7 @@ memguard_cmp_mtp(struct malloc_type *mtp, unsigned long size) #if 1 /* - * The safest way of comparsion is to always compare short description + * The safest way of comparison is to always compare short description * string of memory type, but it is also the slowest way. */ return (strcmp(mtp->ks_shortdesc, vm_memguard_desc) == 0); @@ -498,7 +498,7 @@ memguard_cmp_zone(uma_zone_t zone) return (1); /* - * The safest way of comparsion is to always compare zone name, + * The safest way of comparison is to always compare zone name, * but it is also the slowest way. */ return (strcmp(zone->uz_name, vm_memguard_desc) == 0);