diff options
| author | Lukas Ertl <le@FreeBSD.org> | 2004-03-09 10:02:44 +0000 |
|---|---|---|
| committer | Lukas Ertl <le@FreeBSD.org> | 2004-03-09 10:02:44 +0000 |
| commit | ae21f5ad2c4e82dab9ed96ed947f04a87916ae37 (patch) | |
| tree | 5a6441a5e9d936831ca78d0872800c28e00e91cc /bin/df | |
| parent | 664e22ad1e5cf62a99cdc4dfc4f411f66f8e58f7 (diff) | |
Notes
Diffstat (limited to 'bin/df')
| -rw-r--r-- | bin/df/df.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/df/df.c b/bin/df/df.c index 2147e781336c..830f49a44059 100644 --- a/bin/df/df.c +++ b/bin/df/df.c @@ -400,7 +400,8 @@ prthumanval(double bytes) */ #define fsbtoblk(num, fsbs, bs) \ (((fsbs) != 0 && (fsbs) < (bs)) ? \ - (num) / ((bs) / (fsbs)) : (num) * ((fsbs) / (bs))) + (num) / (intmax_t)((bs) / (fsbs)) : \ + (num) * (intmax_t)((fsbs) / (bs))) /* * Print out status about a file system. |
