Skip site navigation (1)Skip section navigation (2)
Date:      03 May 2001 12:09:38 +0200
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        "Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libkvm kvm_proc.c
Message-ID:  <xzpzocu3frx.fsf@flood.ping.uio.no>
In-Reply-To: <200105031046.aa43449@salmon.maths.tcd.ie>
References:  <200105031046.aa43449@salmon.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
David Malone <dwmalone@maths.tcd.ie> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpzocu3frx.fsf>