Mercurial > hg > octave-jordi > gnulib-hg
changeset 192:f87fb08e4215
.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Mon, 14 Mar 1994 14:54:14 +0000 |
parents | a1a82c93bb41 |
children | d43bfc8cba4a |
files | lib/fsusage.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/fsusage.c +++ b/lib/fsusage.c @@ -100,7 +100,7 @@ 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 @@ 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);