summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-10 13:32:37 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-10 13:32:37 +0000
commit097698681439e9342d460ff1c3589163e4e28007 (patch)
tree1dc79d2a25fd295055f1f89edf1b867972a38023 /ext2fs
parent9680e2570d719e3191833492e05e2e70576e29bd (diff)
(diskfs_set_statfs): Fix one reference to old name of ST member.
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/inode.c b/ext2fs/inode.c
index 744ac9da..ef743a1f 100644
--- a/ext2fs/inode.c
+++ b/ext2fs/inode.c
@@ -458,7 +458,7 @@ diskfs_set_statfs (struct statfs *st)
st->f_bsize = block_size;
st->f_blocks = sblock->s_blocks_count;
st->f_bfree = sblock->s_free_blocks_count;
- st->f_bavail = st->fsys_stb_bfree - sblock->s_r_blocks_count;
+ st->f_bavail = st->f_bfree - sblock->s_r_blocks_count;
st->f_files = sblock->s_inodes_count;
st->f_ffree = sblock->s_free_inodes_count;
st->f_fsid = getpid ();