summaryrefslogtreecommitdiff
path: root/lib/fsusage.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-01-05 17:38:38 +0000
committerJim Meyering <jim@meyering.net>1998-01-05 17:38:38 +0000
commite162abfc5b7c603af2392c7490722569fc61a212 (patch)
tree32f25d5b0e833ef38d40c2de943042125dfb4e92 /lib/fsusage.c
parent866773c72aeb42c48533df72c3cdbfa61ca63c5b (diff)
downloadcoreutils-e162abfc5b7c603af2392c7490722569fc61a212.tar.xz
(get_fs_usage): Add parens.
Diffstat (limited to 'lib/fsusage.c')
-rw-r--r--lib/fsusage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fsusage.c b/lib/fsusage.c
index 16f0bedde..98993b17a 100644
--- a/lib/fsusage.c
+++ b/lib/fsusage.c
@@ -138,7 +138,7 @@ get_fs_usage (path, disk, fsp)
}
close (fd);
- fsp->fsu_blocksize = fsd.s_type == Fs2b ? 1024 : 512;
+ fsp->fsu_blocksize = (fsd.s_type == Fs2b ? 1024 : 512);
fsp->fsu_blocks = PROPAGATE_ALL_ONES (fsd.s_fsize);
fsp->fsu_bfree = PROPAGATE_ALL_ONES (fsd.s_tfree);
fsp->fsu_bavail = PROPAGATE_ALL_ONES (fsd.s_tfree);