aboutsummaryrefslogtreecommitdiff
path: root/coreutils/df.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:58:27 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-08-12 20:58:27 +0000
commit6ca409e0e4c198fe3081346eebbae3f068fe605a (patch)
tree060cb05d99220a1eda399194d1209c269f0e8cd8 /coreutils/df.c
parent4185548984357df91311f30c8e43d95f33922576 (diff)
downloadbusybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.gz
busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.bz2
busybox-w32-6ca409e0e4c198fe3081346eebbae3f068fe605a.zip
trylink: produce even more info about final link stage
trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
Diffstat (limited to 'coreutils/df.c')
-rw-r--r--coreutils/df.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/coreutils/df.c b/coreutils/df.c
index 82730806e..5154eeb45 100644
--- a/coreutils/df.c
+++ b/coreutils/df.c
@@ -42,7 +42,8 @@ int df_main(int argc, char **argv)
42 FILE *mount_table; 42 FILE *mount_table;
43 struct mntent *mount_entry; 43 struct mntent *mount_entry;
44 struct statfs s; 44 struct statfs s;
45 static const char hdr_1k[] = "1k-blocks"; /* default display is kilobytes */ 45 /* default display is kilobytes */
46 static const char hdr_1k[] ALIGN1 = "1k-blocks";
46 const char *disp_units_hdr = hdr_1k; 47 const char *disp_units_hdr = hdr_1k;
47 48
48#ifdef CONFIG_FEATURE_HUMAN_READABLE 49#ifdef CONFIG_FEATURE_HUMAN_READABLE