From: Jim Meyering Date: Mon, 14 Mar 1994 14:54:14 +0000 (+0000) Subject: . X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0be8461f5acc1b0b11684deb224a48e4bd96eb9;p=pspp . --- diff --git a/lib/fsusage.c b/lib/fsusage.c index 96860ebc51..99dcbc3c25 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);