mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-18 14:47:46 +01:00
parent
1e9cba3b82
commit
131b2429ef
13
package/busybox/patches/901-df_human_readable.patch
Normal file
13
package/busybox/patches/901-df_human_readable.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
--- a/coreutils/df.c
|
||||||
|
+++ b/coreutils/df.c
|
||||||
|
@@ -53,8 +53,8 @@ int df_main(int argc, char **argv)
|
||||||
|
OPT_ALL = (1 << 2) * ENABLE_FEATURE_DF_FANCY,
|
||||||
|
OPT_INODE = (1 << 3) * ENABLE_FEATURE_DF_FANCY,
|
||||||
|
OPT_BSIZE = (1 << 4) * ENABLE_FEATURE_DF_FANCY,
|
||||||
|
- OPT_HUMAN = (1 << 5) * ENABLE_FEATURE_HUMAN_READABLE,
|
||||||
|
- OPT_MEGA = (1 << 6) * ENABLE_FEATURE_HUMAN_READABLE,
|
||||||
|
+ OPT_HUMAN = (1 << (2 + 3*ENABLE_FEATURE_DF_FANCY)) * ENABLE_FEATURE_HUMAN_READABLE,
|
||||||
|
+ OPT_MEGA = (1 << (3 + 3*ENABLE_FEATURE_DF_FANCY)) * ENABLE_FEATURE_HUMAN_READABLE,
|
||||||
|
};
|
||||||
|
const char *disp_units_hdr = NULL;
|
||||||
|
char *chp;
|
Loading…
Reference in New Issue
Block a user