From owner-freebsd-doc Sun May 10 08:43:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA02636 for freebsd-doc-outgoing; Sun, 10 May 1998 08:43:17 -0700 (PDT) (envelope-from owner-freebsd-doc@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA02624 for ; Sun, 10 May 1998 08:43:15 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id IAA18434; Sun, 10 May 1998 08:40:01 -0700 (PDT) Received: from mail.yk.rim.or.jp (root@mail.yk.rim.or.jp [202.247.130.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA02476 for ; Sun, 10 May 1998 08:40:47 -0700 (PDT) (envelope-from k-horik@yk.rim.or.jp) Received: from localhost (ppp064.yk.rim.or.jp [202.247.134.64]) by mail.yk.rim.or.jp (8.8.5/3.4Wbeta6-rim1.1) with ESMTP id AAA10353; Mon, 11 May 1998 00:40:47 +0900 (JST) Message-Id: <19980511004027F.k-horik@yk.rim.or.jp> Date: Mon, 11 May 1998 00:40:27 +0900 From: horikawa@jp.freebsd.org Reply-To: horikawa@jp.freebsd.org To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: docs/6573: While core(5) says NBPG gives page size, NBPG does not exist. Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 6573 >Category: docs >Synopsis: While core(5) says NBPG gives page size, NBPG does not exist. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun May 10 08:40:01 PDT 1998 >Last-Modified: >Originator: Kazuo Horikawa >Organization: personal user >Release: FreeBSD 2.2.5-RELEASE i386 >Environment: Both -stable .\" $Id: core.5,v 1.2.2.1 1996/12/31 22:50:39 mpp Exp $ and -current .\" $Id: core.5,v 1.5 1997/02/22 13:25:57 peter Exp $ >Description: The command `man 5 core' shows: The size of a ``page'' is given by the constant NBPG (also from ). But I cannot find `NBPG' definition via `find /usr/include | xargs grep NBPG'. I saw which is included by , and I found pagesize definition is `PAGE_SIZE'. So, I think that `NBPG' should be replaced with `PAGE_SIZE' on FreeBSD. >How-To-Repeat: % man 5 core >Fix: Apply following patch to src/share/man/man5/core.5 (rev.1.2.2.1 and rev.1.5). --- core.5.orig Mon May 11 00:04:35 1998 +++ core.5 Mon May 11 00:14:52 1998 @@ -95,7 +95,7 @@ .Ar u . area. The size of a ``page'' is given by the constant -.Dv NBPG +.Dv PAGE_SIZE (also from .Aq Pa sys/param.h ) . .Sh SEE ALSO >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message