From fanf@dotat.at  Thu Mar 15 11:10:55 2001
Return-Path: <fanf@dotat.at>
Received: from hand.dotat.at (sfo-gw.covalent.net [207.44.198.62])
	by hub.freebsd.org (Postfix) with ESMTP id 3F56737B71C
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 15 Mar 2001 11:10:55 -0800 (PST)
	(envelope-from fanf@dotat.at)
Received: from fanf by hand.dotat.at with local (Exim 3.20 #3)
	id 14dQD8-0000At-00
	for FreeBSD-gnats-submit@freebsd.org; Thu, 15 Mar 2001 05:22:06 +0000
Message-Id: <E14dQD8-0000At-00@hand.dotat.at>
Date: Thu, 15 Mar 2001 05:22:06 +0000
From: Tony Finch <dot@dotat.at>
Reply-To: Tony Finch <dot@dotat.at>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: incorrect documentation of struct statfs in statfs(2)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         25834
>Category:       kern
>Synopsis:       incorrect documentation of struct statfs in statfs(2)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 15 11:20:01 PST 2001
>Closed-Date:    Wed Mar 28 10:22:01 PST 2001
>Last-Modified:  Wed Mar 28 10:22:49 PST 2001
>Originator:     Tony Finch <dot@dotat.at>
>Release:        FreeBSD 4.3-BETA i386
>Organization:
Covalent Technologies, Inc.
>Environment:
System: FreeBSD hand.dotat.at 4.3-BETA FreeBSD 4.3-BETA #6: Thu Mar 15 04:57:36 GMT 2001 fanf@hand.dotat.at:/FreeBSD/releng4/sys/compile/DELL-Latitude-CSx i386
>Description:
The f_syncreads and f_asyncreads entries are missing from the man page.
>How-To-Repeat:
>Fix:

This also tidies up the formatting a bit and omits all the padding
entries.

Index: statfs.2
===================================================================
RCS file: /home/ncvs/src/lib/libc/sys/statfs.2,v
retrieving revision 1.9.2.4
diff -u -r1.9.2.4 statfs.2
--- statfs.2	2000/12/29 14:44:54	1.9.2.4
+++ statfs.2	2001/03/15 05:19:08
@@ -67,7 +67,6 @@
 #define MNAMELEN   90	/* length of buffer for returned name */
 
 struct statfs {
-long	f_spare2;	  /* placeholder */
 long	f_bsize;	  /* fundamental file system block size */
 long	f_iosize;	  /* optimal transfer block size */
 long	f_blocks;	  /* total data blocks in file system */
@@ -82,8 +81,10 @@
 long    f_syncwrites;	  /* count of sync writes since mount */
 long    f_asyncwrites;	  /* count of async writes since mount */
 char	f_fstypename[MFSNAMELEN];/* fs type name */
-char	f_mntonname[MNAMELEN];	  /* mount point */
-char	f_mntfromname[MNAMELEN];  /* mounted filesystem */
+char	f_mntonname[MNAMELEN];	 /* mount point */
+long    f_syncreads;		 /* count of sync reads since mount */
+long    f_asyncreads;		 /* count of async reads since mount */
+char	f_mntfromname[MNAMELEN]; /* mounted filesystem */
 };
 .Ed
 The flags that may be returned include:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Wed Mar 28 10:22:01 PST 2001 
State-Changed-Why:  
Committed, thanks! 

Next time use "docs" as category for man-pages, that would probably 
get more attention quicker. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=25834 
>Unformatted:
