Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2021 07:31:39 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: b26056a6bd68 - stable/12 - Fix a few typos in source code comments
Message-ID:  <202108190731.17J7Vd9O026890@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=b26056a6bd68fab3e083d0fa1ad8a49de787b20e

commit b26056a6bd68fab3e083d0fa1ad8a49de787b20e
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2021-08-14 07:06:09 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2021-08-19 07:31:24 +0000

    Fix a few typos in source code comments
    
    - s/becase/because/
    
    (cherry picked from commit fa7a635f7ee277960eb37b9102a3aef76b36b825)
---
 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 fc7219d868bb..d38f3d7d5946 100644
--- a/sys/vm/vm_pageout.c
+++ b/sys/vm/vm_pageout.c
@@ -509,7 +509,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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108190731.17J7Vd9O026890>