summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-10 13:28:57 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-10 13:28:57 +0000
commit9680e2570d719e3191833492e05e2e70576e29bd (patch)
treebe14c5d7a4711b43d2142e08d806a5ec50b20245
parent71ffb0afd4850e98c4068a4671a4423c4fc19a19 (diff)
(diskfs_set_statfs): Fix one reference to old name of ST member.
-rw-r--r--ufs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ufs/inode.c b/ufs/inode.c
index 4011ff55..51af3446 100644
--- a/ufs/inode.c
+++ b/ufs/inode.c
@@ -495,7 +495,7 @@ diskfs_set_statfs (struct statfs *st)
st->f_bfree = (sblock->fs_cstotal.cs_nbfree * sblock->fs_frag
+ sblock->fs_cstotal.cs_nffree);
st->f_bavail = ((sblock->fs_dsize * (100 - sblock->fs_minfree) / 100)
- - (sblock->fs_dsize - st->fsys_stb_bfree));
+ - (sblock->fs_dsize - st->f_bfree));
st->f_files = sblock->fs_ncg * sblock->fs_ipg - 2; /* not 0 or 1 */
st->f_ffree = sblock->fs_cstotal.cs_nifree;
st->f_fsid = getpid ();