diff options
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 */ |