From owner-cvs-all@FreeBSD.ORG Fri Apr 25 04:51:31 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1272637B404; Fri, 25 Apr 2003 04:51:31 -0700 (PDT) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7925843FAF; Fri, 25 Apr 2003 04:51:29 -0700 (PDT) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id B1F095309; Fri, 25 Apr 2003 13:51:27 +0200 (CEST) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Nate Lawson From: Dag-Erling Smorgrav Date: Fri, 25 Apr 2003 13:51:27 +0200 In-Reply-To: (Nate Lawson's message of "Thu, 24 Apr 2003 17:18:18 -0700 (PDT)") Message-ID: User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern kern_proc.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2003 11:51:31 -0000 Nate Lawson 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