summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-08-15 18:17:03 +0000
committerpjd <pjd@FreeBSD.org>2006-08-15 18:17:03 +0000
commit85e4bd1f986b3a3ebaf26e5dc22325bd2ed2f955 (patch)
treef5170caa0629058778c89b3f344a6527efaa8dd9 /lib
parent95a426fdc6cf018d3cc1a057eba9ef043dce7f37 (diff)
downloadFreeBSD-src-85e4bd1f986b3a3ebaf26e5dc22325bd2ed2f955.zip
FreeBSD-src-85e4bd1f986b3a3ebaf26e5dc22325bd2ed2f955.tar.gz
We operate on 'statfs' structures, not on 'fsstat' structures.
MFC after: 3 days
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/getfsstat.24
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/sys/getfsstat.2 b/lib/libc/sys/getfsstat.2
index 3100d93..926c11f 100644
--- a/lib/libc/sys/getfsstat.2
+++ b/lib/libc/sys/getfsstat.2
@@ -61,7 +61,7 @@ structures, as described in
.Pp
Fields that are undefined for a particular file system are set to -1.
The buffer is filled with an array of
-.Fa fsstat
+.Fa statfs
structures, one for each mounted file system
up to the byte count specified by
.Fa bufsize .
@@ -94,7 +94,7 @@ will not block waiting for information from a file system that is
unable to respond.
.Sh RETURN VALUES
Upon successful completion, the number of
-.Fa fsstat
+.Fa statfs
structures is returned.
Otherwise, -1 is returned and the global variable
.Va errno
OpenPOWER on IntegriCloud