mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
Small patch from Kent Robotti to show megabytes in human-readable output.
This commit is contained in:
parent
9e37007edb
commit
8d7bdc9deb
@ -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
|
||||
|
3
df.c
3
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
|
||||
|
Loading…
Reference in New Issue
Block a user