summaryrefslogtreecommitdiff
path: root/df.c
diff options
context:
space:
mode:
Diffstat (limited to 'df.c')
-rw-r--r--df.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/df.c b/df.c
index 4ec7533..8f6ef98 100644
--- a/df.c
+++ b/df.c
@@ -105,7 +105,8 @@ extern int df_main(int argc, char **argv)
printf("%-20s %-14s %s %s %s %s\n", "Filesystem",
#ifdef BB_FEATURE_HUMAN_READABLE
- (KILOBYTE == disp_hr) ? "1k-blocks" : " Size",
+ (KILOBYTE == disp_hr) ? "1k-blocks" :
+ (MEGABYTE == disp_hr) ? "1M-blocks" : " Size",
#else
"1k-blocks",
#endif