summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/sys/getfsstat.28
-rw-r--r--lib/libc/sys/statfs.28
2 files changed, 12 insertions, 4 deletions
diff --git a/lib/libc/sys/getfsstat.2 b/lib/libc/sys/getfsstat.2
index 0c64872fe10..c35e66f31d6 100644
--- a/lib/libc/sys/getfsstat.2
+++ b/lib/libc/sys/getfsstat.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getfsstat.2,v 1.16 2007/05/31 19:19:32 jmc Exp $
+.\" $OpenBSD: getfsstat.2,v 1.17 2009/06/05 23:31:34 millert Exp $
.\" $NetBSD: getfsstat.2,v 1.6 1995/06/29 11:40:44 cgd Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)getfsstat.2 8.1 (Berkeley) 6/9/93
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: June 5 2009 $
.Dt GETFSSTAT 2
.Os
.Sh NAME
@@ -107,6 +107,10 @@ unable to respond.
If no flags are provided,
.Dv MNT_WAIT
is assumed.
+.Pp
+Note that
+.Fa f_fsid
+will be empty unless the user is the superuser.
.Sh RETURN VALUES
Upon successful completion, the number of
.Fa statfs
diff --git a/lib/libc/sys/statfs.2 b/lib/libc/sys/statfs.2
index 0e936d9019e..2bd872c8419 100644
--- a/lib/libc/sys/statfs.2
+++ b/lib/libc/sys/statfs.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: statfs.2,v 1.19 2008/03/16 20:24:14 otto Exp $
+.\" $OpenBSD: statfs.2,v 1.20 2009/06/05 23:31:34 millert Exp $
.\" $NetBSD: statfs.2,v 1.10 1995/06/29 11:40:48 cgd Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)statfs.2 8.3 (Berkeley) 2/11/94
.\"
-.Dd $Mdocdate: March 16 2008 $
+.Dd $Mdocdate: June 5 2009 $
.Dt STATFS 2
.Os
.Sh NAME
@@ -89,6 +89,10 @@ struct statfs {
.Fn fstatfs
returns the same information about an open file referenced by descriptor
.Fa fd .
+.Pp
+Note that
+.Fa f_fsid
+will be empty unless the user is the superuser.
.Sh RETURN VALUES
Upon successful completion, a value of 0 is returned.
Otherwise, \-1 is returned and the global variable