Date: Fri, 25 Apr 2003 13:51:27 +0200 From: Dag-Erling Smorgrav <des@ofug.org> To: Nate Lawson <nate@root.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_proc.c Message-ID: <xzpllxyre0w.fsf@flood.ping.uio.no> In-Reply-To: <Pine.BSF.4.21.0304241716540.63727-100000@root.org> (Nate Lawson's message of "Thu, 24 Apr 2003 17:18:18 -0700 (PDT)") References: <Pine.BSF.4.21.0304241716540.63727-100000@root.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Nate Lawson <nate@root.org> writes: > On Wed, 23 Apr 2003, Dag-Erling Smorgrav wrote: >> @@ -673,6 +673,8 @@ >> } >> if ((p->p_sflag & PS_INMEM) && p->p_stats) { >> kp->ki_start = p->p_stats->p_start; >> + if (kp->ki_start.tv_sec == 1) >> + kp->ki_start = boottime; >> kp->ki_rusage = p->p_stats->p_ru; >> kp->ki_childtime.tv_sec = p->p_stats->p_cru.ru_utime.tv_sec + >> p->p_stats->p_cru.ru_stime.tv_sec; > > I'm not sure how the above can compile since the types in assignment don't > match. The preferred procedure is 1) check facts 2) open mouth not 1) open mouth 2) insert foot 3) echo internationally DES -- Dag-Erling Smorgrav - des@ofug.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpllxyre0w.fsf>