diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-09 22:42:26 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-09 22:42:26 +0000 |
commit | aa3297f363d73414dcdd0f16e55b02774b9440ff (patch) | |
tree | 5dd252e744eb6d404101299347e5db947fea3f3a /init | |
parent | 649f970ce6fe741800a34112f26989d8a3e8a0a9 (diff) | |
download | busybox-w32-aa3297f363d73414dcdd0f16e55b02774b9440ff.tar.gz busybox-w32-aa3297f363d73414dcdd0f16e55b02774b9440ff.tar.bz2 busybox-w32-aa3297f363d73414dcdd0f16e55b02774b9440ff.zip |
Fixed df.c so that nfs volumes will display properly (fixing bug #1113).
Problem was 512/1024 = 0 if you use longs, so I cast KILOBYTE to a double, then
cast the result back to an int after the math is done, letting C's type
promotion do its magic for the rest.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@2032 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions