From owner-cvs-all Thu May 3 3: 9:49 2001 Delivered-To: cvs-all@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 51CDC37B422; Thu, 3 May 2001 03:09:43 -0700 (PDT) (envelope-from des@ofug.org) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id MAA28632; Thu, 3 May 2001 12:09:39 +0200 (CEST) (envelope-from des@ofug.org) 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: David Malone Cc: "Niels Chr. Bank-Pedersen" , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libkvm kvm_proc.c References: <200105031046.aa43449@salmon.maths.tcd.ie> From: Dag-Erling Smorgrav Date: 03 May 2001 12:09:38 +0200 In-Reply-To: <200105031046.aa43449@salmon.maths.tcd.ie> Message-ID: Lines: 20 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David Malone writes: > Ahhh - OK - try the following! I hope you mean the reverse. > --- kvm_proc.c Thu May 3 10:42:48 2001 > +++ /usr/src/lib/libkvm/kvm_proc.c Wed May 2 09:31:52 2001 > @@ -411,7 +411,7 @@ > kd->procbase->ki_structsize); > return (0); > } > - nprocs = size == 0 ? 0 : size / kd->procbase->ki_structsize; > + nprocs = size / kd->procbase->ki_structsize; > } else { > struct nlist nl[4], *p; > DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message