aboutsummaryrefslogtreecommitdiff
path: root/df.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-06-13 06:54:53 +0000
committerEric Andersen <andersen@codepoet.org>2000-06-13 06:54:53 +0000
commit2b6ab3cbf8c486fd2faa2bec60e7b1d4ed807af1 (patch)
treed0e98c79dff9374fc3e4229bbf3c4e43164184a0 /df.c
parent053b1462b72feea51b3b8745662447d5f8d18fda (diff)
downloadbusybox-w32-2b6ab3cbf8c486fd2faa2bec60e7b1d4ed807af1.tar.gz
busybox-w32-2b6ab3cbf8c486fd2faa2bec60e7b1d4ed807af1.tar.bz2
busybox-w32-2b6ab3cbf8c486fd2faa2bec60e7b1d4ed807af1.zip
Add new apps md5sum uudecode uuencode, fix some minor formatting things.
-Erik
Diffstat (limited to 'df.c')
-rw-r--r--df.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/df.c b/df.c
index 417065943..07e61d87d 100644
--- a/df.c
+++ b/df.c
@@ -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 */