From: Ben Gras Date: Fri, 7 Oct 2005 13:23:39 +0000 (+0000) Subject: Comment corrections from Al X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=7a1a558eddb265ccdc8d0ec8ad9243ff6062d401;p=minix.git Comment corrections from Al --- diff --git a/kernel/clock.c b/kernel/clock.c index 58f739f29..311ad51ab 100755 --- a/kernel/clock.c +++ b/kernel/clock.c @@ -1,5 +1,5 @@ -/* The file contais the clock task, which handles all time related functions. +/* The file contains the clock task, which handles all time related functions. * Important events that are handled by the CLOCK include alarm timers and * (re)scheduling user processes. * The CLOCK offers a direct interface to kernel processes. System services diff --git a/kernel/proc.c b/kernel/proc.c index 78e2cfd25..91228cf4a 100755 --- a/kernel/proc.c +++ b/kernel/proc.c @@ -228,7 +228,7 @@ unsigned flags; /* system call flags */ dst_ptr->p_messbuf); if ((dst_ptr->p_rts_flags &= ~RECEIVING) == 0) enqueue(dst_ptr); } else if ( ! (flags & NON_BLOCKING)) { - /* Destination is not waiting. Block and queue caller. */ + /* Destination is not waiting. Block and dequeue caller. */ caller_ptr->p_messbuf = m_ptr; if (caller_ptr->p_rts_flags == 0) dequeue(caller_ptr); caller_ptr->p_rts_flags |= SENDING;