From: Qi Yong Date: Sun, 26 May 2013 14:11:59 +0000 (+0000) Subject: fix some comment typo's X-Git-Tag: v3.3.0~957 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=61f6e2f5f0a2bc3b5a02542c4e004ccb00db8e02;p=minix.git fix some comment typo's Change-Id: Ic9f4333613abb858bfc28f72685424557cf2cd40 --- diff --git a/kernel/proc.c b/kernel/proc.c index e60e55071..6dcaf9125 100644 --- a/kernel/proc.c +++ b/kernel/proc.c @@ -246,7 +246,7 @@ void switch_to_user(void) /* * if a process becomes not runnable while handling the misc flags, we * need to pick a new one here and start from scratch. Also if the - * current process wasn' runnable, we pick a new one here + * current process wasn't runnable, we pick a new one here */ not_runnable_pick_new: if (proc_is_preempted(p)) { @@ -261,7 +261,7 @@ not_runnable_pick_new: /* * if we have no process to run, set IDLE as the current process for - * time accounting and put the cpu in and idle state. After the next + * time accounting and put the cpu in an idle state. After the next * timer interrupt the execution resumes here and we can pick another * process. If there is still nothing runnable we "schedule" IDLE again */ @@ -1604,7 +1604,7 @@ static void enqueue_head(struct proc *rp) /* * the process was runnable without its quantum expired when dequeued. A - * process with no time left should vahe been handled else and differently + * process with no time left should have been handled else and differently */ assert(!is_zero64(rp->p_cpu_time_left)); diff --git a/usr.sbin/mkfs.mfs/mkfs.c b/usr.sbin/mkfs.mfs/mkfs.c index b934ec43f..1806b8007 100644 --- a/usr.sbin/mkfs.mfs/mkfs.c +++ b/usr.sbin/mkfs.mfs/mkfs.c @@ -72,7 +72,7 @@ typedef uint32_t bitchunk_t; /* collection of bits in a bitmap */ struct fs_size { ino_t inocount; /* amount of inodes */ zone_t zonecount; /* amount of zones */ - block_t blockcount; /* amount of bloks */ + block_t blockcount; /* amount of blocks */ }; extern char *optarg;