summaryrefslogtreecommitdiff
path: root/coreutils/df.c
diff options
context:
space:
mode:
authorEric Andersen2000-06-13 06:54:53 +0000
committerEric Andersen2000-06-13 06:54:53 +0000
commit2b6ab3cbf8c486fd2faa2bec60e7b1d4ed807af1 (patch)
treed0e98c79dff9374fc3e4229bbf3c4e43164184a0 /coreutils/df.c
parent053b1462b72feea51b3b8745662447d5f8d18fda (diff)
downloadbusybox-2b6ab3cbf8c486fd2faa2bec60e7b1d4ed807af1.zip
busybox-2b6ab3cbf8c486fd2faa2bec60e7b1d4ed807af1.tar.gz
Add new apps md5sum uudecode uuencode, fix some minor formatting things.
-Erik
Diffstat (limited to 'coreutils/df.c')
-rw-r--r--coreutils/df.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/coreutils/df.c b/coreutils/df.c
index 4170659..07e61d8 100644
--- a/coreutils/df.c
+++ b/coreutils/df.c
@@ -51,7 +51,6 @@ static int df(char *device, const char *mountPoint)
blocks_used = s.f_blocks - s.f_bfree;
blocks_percent_used = (long)
(blocks_used * 100.0 / (blocks_used + s.f_bavail) + 0.5);
- /* Note that if /etc/fstab is missing, libc can't fix up /dev/root for us */
if (strcmp(device, "/dev/root") == 0) {
/* Adjusts device to be the real root device,
* or leaves device alone if it can't find it */