Date: Sun, 25 Apr 2010 19:34:22 GMT From: Alexander Best <alexbestms@wwu.de> To: freebsd-gnats-submit@FreeBSD.org Subject: docs/146047: [kld] [patch] the kldstat(2) manual needs to be more precise about the purpose of kld_file_stat.size Message-ID: <201004251934.o3PJYMTg019455@www.freebsd.org> Resent-Message-ID: <201004251940.o3PJe2sE064370@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004251934.o3PJYMTg019455>