summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2008-08-08 09:02:26 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2008-08-08 09:02:26 +0000
commitbf2ebf695329c65aa2bd831ffedf2364c3139ec3 (patch)
tree228e51f9d4b9e337b25e97682c86c147aba2a845 /sys
parent5451e6861b3f8e9f76225950a1e00d3a94e8e145 (diff)
spacing + wrap a line at 79chars.
Diffstat (limited to 'sys')
-rw-r--r--sys/ufs/ffs/ffs_vfsops.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c
index 2837b4a7e15..3f6af7c9954 100644
--- a/sys/ufs/ffs/ffs_vfsops.c
+++ b/sys/ufs/ffs/ffs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ffs_vfsops.c,v 1.114 2008/07/09 09:30:51 thib Exp $ */
+/* $OpenBSD: ffs_vfsops.c,v 1.115 2008/08/08 09:02:25 thib Exp $ */
/* $NetBSD: ffs_vfsops.c,v 1.19 1996/02/09 22:22:26 christos Exp $ */
/*
@@ -1107,8 +1107,9 @@ ffs_statfs(struct mount *mp, struct statfs *sbp, struct proc *p)
sbp->f_iosize = fs->fs_bsize;
sbp->f_blocks = fs->fs_dsize;
sbp->f_bfree = fs->fs_cstotal.cs_nbfree * fs->fs_frag +
- fs->fs_cstotal.cs_nffree;
- sbp->f_bavail = sbp->f_bfree - ((int64_t)fs->fs_dsize * fs->fs_minfree / 100);
+ fs->fs_cstotal.cs_nffree;
+ sbp->f_bavail = sbp->f_bfree -
+ ((int64_t)fs->fs_dsize * fs->fs_minfree / 100);
sbp->f_files = fs->fs_ncg * fs->fs_ipg - ROOTINO;
sbp->f_ffree = fs->fs_cstotal.cs_nifree;
sbp->f_favail = sbp->f_ffree;