Fix a few typos in source code comments

- s/becase/because/

MFC after:	5 days
This commit is contained in:
Gordon Bergling 2021-08-14 09:06:09 +02:00
parent 17db4b52fb
commit fa7a635f7e
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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