From owner-cvs-all Thu May 3 2:46:31 2001 Delivered-To: cvs-all@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 60D9537B423; Thu, 3 May 2001 02:46:25 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 3 May 2001 10:46:24 +0100 (BST) To: "Niels Chr. Bank-Pedersen" Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libkvm kvm_proc.c In-reply-to: Your message of "Thu, 03 May 2001 02:58:48 +0200." <20010503025847.L17327@bank-pedersen.dk> X-Request-Do: Date: Thu, 03 May 2001 10:46:24 +0100 From: David Malone Message-ID: <200105031046.aa43449@salmon.maths.tcd.ie> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hmm, I guess I asked for trouble: > note# ls -l /etc/malloc.conf > lrwxr-xr-x 1 root wheel 2 3 Maj 02:55 /etc/malloc.conf -> aj > note# ps -p 1234 > Floating exception (core dumped) Ahhh - OK - try the following! David. --- 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; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message