From owner-freebsd-doc@FreeBSD.ORG Sun Apr 25 19:40:02 2010 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B06BB1065670 for ; Sun, 25 Apr 2010 19:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 73C5B8FC19 for ; Sun, 25 Apr 2010 19:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3PJe2ea064371 for ; Sun, 25 Apr 2010 19:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3PJe2sE064370; Sun, 25 Apr 2010 19:40:02 GMT (envelope-from gnats) Resent-Date: Sun, 25 Apr 2010 19:40:02 GMT Resent-Message-Id: <201004251940.o3PJe2sE064370@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Best Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF5B8106566B for ; Sun, 25 Apr 2010 19:34:22 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id BDE058FC08 for ; Sun, 25 Apr 2010 19:34:22 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o3PJYM1q019456 for ; Sun, 25 Apr 2010 19:34:22 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o3PJYMTg019455; Sun, 25 Apr 2010 19:34:22 GMT (envelope-from nobody) Message-Id: <201004251934.o3PJYMTg019455@www.freebsd.org> Date: Sun, 25 Apr 2010 19:34:22 GMT From: Alexander Best To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/146047: [kld] [patch] the kldstat(2) manual needs to be more precise about the purpose of kld_file_stat.size X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Apr 2010 19:40:02 -0000 >Number: 146047 >Category: docs >Synopsis: [kld] [patch] the kldstat(2) manual needs to be more precise about the purpose of kld_file_stat.size >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 Apr 25 19:40:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Alexander Best >Release: 9.0-CURRENT >Organization: >Environment: FreeBSD otaku 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r207154M: Sat Apr 24 21:14:37 CEST 2010 root@otaku:/usr/obj/usr/src/sys/ARUNDEL amd64 >Description: the kldstat(2) manual states that kld_file_stat.size contains "the size of the file". what kld_file_stat.size actually contains is the amount of memory taken up by the file. >How-To-Repeat: >Fix: apply the attached patch. Patch attached with submission follows: Index: lib/libc/sys/kldstat.2 =================================================================== --- lib/libc/sys/kldstat.2 (revision 207014) +++ lib/libc/sys/kldstat.2 (working copy) @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 3, 1999 +.Dd April 2, 2010 .Dt KLDSTAT 2 .Os .Sh NAME @@ -77,7 +77,7 @@ .It address The load address of the kld file. .It size -The size of the file. +The amount of memory allocated for the file. .It pathname The full name of the file referred to by .Fa fileid , >Release-Note: >Audit-Trail: >Unformatted: