diff options
author | Jim Meyering <jim@meyering.net> | 1994-03-14 14:54:14 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1994-03-14 14:54:14 +0000 |
commit | cbd7649260e965dcebe4fcaec9aa9d1bcef67f6f (patch) | |
tree | a3b948985fd83ca05e04a139186152c2fd24eefb /lib | |
parent | 77e63b223621b9990a638365302eb39997b12d15 (diff) | |
download | coreutils-cbd7649260e965dcebe4fcaec9aa9d1bcef67f6f.tar.xz |
.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fsusage.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/fsusage.c b/lib/fsusage.c index 96860ebc5..99dcbc3c2 100644 --- a/lib/fsusage.c +++ b/lib/fsusage.c @@ -100,7 +100,7 @@ get_fs_usage (path, disk, fsp) if (statfs (path, &fsd, sizeof (struct statfs)) != 0) return (-1); -#define convert_blocks(b) adjust_blocks ((b),fsd.f_fsize, 512) +#define convert_blocks(b) adjust_blocks ((b), fsd.f_fsize, 512) #endif /* STAT_STATFS3_OSF1 */ #ifdef STAT_STATFS2_FS_DATA /* Ultrix. */ @@ -133,7 +133,8 @@ get_fs_usage (path, disk, fsp) return -1; } close (fd); -#define convert_blocks(b) adjust_blocks ((b), (fsd.s_type == Fs2b ? 1024 : 512), 512) +#define convert_blocks(b) \ + adjust_blocks ((b), (fsd.s_type == Fs2b ? 1024 : 512), 512) fsp->fsu_blocks = convert_blocks (fsd.s_fsize); fsp->fsu_bfree = convert_blocks (fsd.s_tfree); fsp->fsu_bavail = convert_blocks (fsd.s_tfree); |