summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-12-09 05:17:59 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-12-09 05:17:59 +0000
commit341b9ccaae810b1f2d3f13e68ad74edcd40957ca (patch)
tree8d166d0c7f9134478483ab858cb0d192a5f6e4b3 /lib
parent9be436d4cf81ee7111837612fd2e0ac74b3c237d (diff)
make struct statfs reflect reality.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/getfsstat.24
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/getfsstat.2 b/lib/libc/sys/getfsstat.2
index 98c8d911018..67581d9f660 100644
--- a/lib/libc/sys/getfsstat.2
+++ b/lib/libc/sys/getfsstat.2
@@ -70,7 +70,9 @@ struct statfs {
long f_ffree; /* free file nodes in fs */
fsid_t f_fsid; /* file system id */
uid_t f_owner; /* user that mounted the file system */
- long f_spare[4]; /* spare for later */
+ long f_syncwrites; /* count of sync writes since mount */
+ long f_asyncwrites; /* count of async writes since mount */
+ long f_spare[2]; /* spare for later */
char f_fstypename[MFSNAMELEN]; /* fs type name */
char f_mntonname[MNAMELEN]; /* directory on which mounted */
char f_mntfromname[MNAMELEN]; /* mounted file system */