diff options
author | Gordon Bergling <gbe@FreeBSD.org> | 2021-08-14 07:06:09 +0000 |
---|---|---|
committer | Gordon Bergling <gbe@FreeBSD.org> | 2021-08-14 07:06:09 +0000 |
commit | fa7a635f7ee277960eb37b9102a3aef76b36b825 (patch) | |
tree | 04ba16ef99ae851912ca0be90952db7238ac2139 | |
parent | 17db4b52fb41aeabeb945c68c1b5edd4db4eac31 (diff) | |
download | src-fa7a635f7ee277960eb37b9102a3aef76b36b825.tar.gz src-fa7a635f7ee277960eb37b9102a3aef76b36b825.zip |
Fix a few typos in source code comments
- s/becase/because/
MFC after: 5 days
-rw-r--r-- | stand/i386/libfirewire/dconsole.c | 2 | ||||
-rw-r--r-- | 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 |