diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-06-13 06:54:53 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-06-13 06:54:53 +0000 |
commit | eea61780133ff976ef601b9282a8eb9ccc77b55b (patch) | |
tree | d0e98c79dff9374fc3e4229bbf3c4e43164184a0 /df.c | |
parent | 29e9d58553352ba2469ad28d44e643f4314f62af (diff) | |
download | busybox-w32-eea61780133ff976ef601b9282a8eb9ccc77b55b.tar.gz busybox-w32-eea61780133ff976ef601b9282a8eb9ccc77b55b.tar.bz2 busybox-w32-eea61780133ff976ef601b9282a8eb9ccc77b55b.zip |
Add new apps md5sum uudecode uuencode, fix some minor formatting things.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@640 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'df.c')
-rw-r--r-- | df.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -51,7 +51,6 @@ static int df(char *device, const char *mountPoint) | |||
51 | blocks_used = s.f_blocks - s.f_bfree; | 51 | blocks_used = s.f_blocks - s.f_bfree; |
52 | blocks_percent_used = (long) | 52 | blocks_percent_used = (long) |
53 | (blocks_used * 100.0 / (blocks_used + s.f_bavail) + 0.5); | 53 | (blocks_used * 100.0 / (blocks_used + s.f_bavail) + 0.5); |
54 | /* Note that if /etc/fstab is missing, libc can't fix up /dev/root for us */ | ||
55 | if (strcmp(device, "/dev/root") == 0) { | 54 | if (strcmp(device, "/dev/root") == 0) { |
56 | /* Adjusts device to be the real root device, | 55 | /* Adjusts device to be the real root device, |
57 | * or leaves device alone if it can't find it */ | 56 | * or leaves device alone if it can't find it */ |