From owner-dev-commits-src-all@freebsd.org Sat Aug 14 07:06:57 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 35B1A6673A2; Sat, 14 Aug 2021 07:06:57 +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 4Gms1F0fCXz4s1b; Sat, 14 Aug 2021 07:06:57 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 EE0F91DC43; Sat, 14 Aug 2021 07:06:56 +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 17E76uhb062673; Sat, 14 Aug 2021 07:06:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17E76ulM062672; Sat, 14 Aug 2021 07:06:56 GMT (envelope-from git) Date: Sat, 14 Aug 2021 07:06:56 GMT Message-Id: <202108140706.17E76ulM062672@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: fa7a635f7ee2 - main - Fix a few typos in source code comments 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: fa7a635f7ee277960eb37b9102a3aef76b36b825 Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Aug 2021 07:06:57 -0000 The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=fa7a635f7ee277960eb37b9102a3aef76b36b825 commit fa7a635f7ee277960eb37b9102a3aef76b36b825 Author: Gordon Bergling AuthorDate: 2021-08-14 07:06:09 +0000 Commit: Gordon Bergling CommitDate: 2021-08-14 07:06:09 +0000 Fix a few typos in source code comments - s/becase/because/ MFC after: 5 days --- stand/i386/libfirewire/dconsole.c | 2 +- sys/vm/vm_pageout.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stand/i386/libfirewire/dconsole.c b/stand/i386/libfirewire/dconsole.c index 1528fafdf787..338ed26aa417 100644 --- a/stand/i386/libfirewire/dconsole.c +++ b/stand/i386/libfirewire/dconsole.c @@ -47,7 +47,7 @@ static int dcons_started = 0; static struct dcons_softc sc[DCONS_NPORT]; uint32_t dcons_paddr; -/* The buffer must be allocated in BSS becase: +/* The buffer must be allocated in BSS because: * - The dcons driver in the kernel is initialized before VM/pmap is * initialized, so that the buffer must be allocate in the region * that is mapped at the very early boot state. diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c index 9a0b295569e2..ff0c90843037 100644 --- a/sys/vm/vm_pageout.c +++ b/sys/vm/vm_pageout.c @@ -539,7 +539,7 @@ vm_pageout_flush(vm_page_t *mc, int count, int flags, int mreq, int *prunlen, * the PQ_UNSWAPPABLE holding queue. This is an * optimization that prevents the page daemon from * wasting CPU cycles on pages that cannot be reclaimed - * becase no swap device is configured. + * because no swap device is configured. * * Otherwise, reactivate the page so that it doesn't * clog the laundry and inactive queues. (We will try