From owner-freebsd-current Wed Feb 28 5:10:56 2001 Delivered-To: freebsd-current@freebsd.org Received: from srcso.globis.ru (globis.ru [212.248.80.7]) by hub.freebsd.org (Postfix) with ESMTP id 1502D37B71B for ; Wed, 28 Feb 2001 05:10:38 -0800 (PST) (envelope-from igor@raduga.dyndns.org) Received: from raduga.dyndns.org (raduga.sochi.net [212.248.82.76]) by srcso.globis.ru (8.9.3/8.9.3) with ESMTP id QAA93631 for ; Wed, 28 Feb 2001 16:54:15 +0300 (MSK) (envelope-from igor@raduga.dyndns.org) Received: (from igor@localhost) by raduga.dyndns.org (8.10.1/8.10.1) id f1SDA9D14378 for freebsd-current@freebsd.org; Wed, 28 Feb 2001 16:10:09 +0300 Date: Wed, 28 Feb 2001 16:10:09 +0300 From: Igor Robul To: freebsd-current@freebsd.org Subject: Re: Correct size of kinfo_proc Message-ID: <20010228161009.B14235@linux.rainbow> Reply-To: igorr@crosswinds.net Mail-Followup-To: freebsd-current@freebsd.org References: <3A9CF680.563D9F2B@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre4i In-Reply-To: <3A9CF680.563D9F2B@FreeBSD.org>; from sobomax@FreeBSD.ORG on Wed, Feb 28, 2001 at 03:00:48PM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Feb 28, 2001 at 03:00:48PM +0200, Maxim Sobolev wrote: > Hi Poul, > > In revision 1.31 of src/sys/sys/user.h you have added new ki_layout field to > kinfo_proc structure, but forgot to increase KINFO_PROC_SIZE from 644 to 648. > Please correct. Why don't use sizeof() insead of hardcoding numbers? -- Igor Robul, Unix System Administrator & Programmer @ sanatorium "Raduga", Sochi, Russia http://www.brainbench.com/transcript.jsp?pid=304744 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message