[BusyBox-cvs] cvs commit to busybox by andersen
andersen at busybox.net
andersen at busybox.net
Fri Mar 9 22:42:26 UTC 2001
Repository: busybox
who: andersen
time: Fri Mar 9 15:42:26 MST 2001
Log Message:
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
Files:
changed: df.c
_______________________________________________
busybox-cvs mailing list
busybox-cvs at busybox.net
http://busybox.net/mailman/listinfo/busybox-cvs
More information about the busybox
mailing list