Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2021 07:30:05 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: 337c9718387d - stable/13 - Fix a few typos in source code comments
Message-ID:  <202108190730.17J7U57T017787@gitrepo.freebsd.org>

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

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

commit 337c9718387df72af2e30175c0b9aeddc04117df
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:29:50 +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 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



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