1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 19:34:19 +02:00
This commit is contained in:
Jim Meyering
1994-03-14 14:54:14 +00:00
parent 77e63b2236
commit cbd7649260

View File

@@ -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);