docs/146047: [kld] [patch] the kldstat(2) manual needs to be more precise about the purpose of kld_file_stat.size
Alexander Best
alexbestms at wwu.de
Sun Apr 25 19:40:02 UTC 2010
>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 at 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:
More information about the freebsd-doc
mailing list