Subject: lib/437: getmntinfo(3) synopsis gives incorrect type for first parameter
To: None <gnats-admin>
From: None <thomas@mathematik.uni-Bremen.de>
List: netbsd-bugs
Date: 08/26/1994 14:20:10
>Number: 437
>Category: lib
>Synopsis: getmntinfo(3) synopsis gives incorrect type for first parameter
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (Library Bug People)
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 26 14:20:09 1994
>Originator: Thomas Eberhardt
>Organization:
CeVis, University of Bremen, Germany
>Release:
>Environment:
System: NetBSD ed209 1.0_BETA NetBSD 1.0_BETA (ED209) #0: Sat Aug 20 03:10:19 MET DST 1994 thomas@ed209:/usr/src/sys/arch/i386/compile/ED209 i386
Machine: i386
>Description:
The synopsis section in the manual page for getmntinfo(3) says that
its first parameter is an "int" whereby in reality it is a
"struct statfs **".
>How-To-Repeat:
>Fix:
*** lib/libc/gen/getmntinfo.3- Fri Dec 17 07:23:30 1993
--- lib/libc/gen/getmntinfo.3 Fri Aug 26 22:51:26 1994
***************
*** 42,48 ****
.Fd #include <sys/types.h>
.Fd #include <sys/mount.h>
.Ft int
! .Fn getmntinfo "int mntbufp" "int flags"
.Sh DESCRIPTION
The
.Fn getmntinfo
--- 42,48 ----
.Fd #include <sys/types.h>
.Fd #include <sys/mount.h>
.Ft int
! .Fn getmntinfo "struct statfs **mntbufp" "int flags"
.Sh DESCRIPTION
The
.Fn getmntinfo
>Audit-Trail:
>Unformatted:
------------------------------------------------------------------------------