summaryrefslogtreecommitdiff
path: root/procps/nmeter.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-08-12 20:58:27 +0000
committerDenis Vlasenko2007-08-12 20:58:27 +0000
commit6ca409e0e4c198fe3081346eebbae3f068fe605a (patch)
tree060cb05d99220a1eda399194d1209c269f0e8cd8 /procps/nmeter.c
parent4185548984357df91311f30c8e43d95f33922576 (diff)
downloadbusybox-6ca409e0e4c198fe3081346eebbae3f068fe605a.zip
busybox-6ca409e0e4c198fe3081346eebbae3f068fe605a.tar.gz
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 'procps/nmeter.c')
-rw-r--r--procps/nmeter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/procps/nmeter.c b/procps/nmeter.c
index 4f78a14..127a3d1 100644
--- a/procps/nmeter.c
+++ b/procps/nmeter.c
@@ -36,7 +36,7 @@ static const char *const proc_name[] = {
"net/dev",
"meminfo",
"diskstats",
- "sys/fs/file-nr",
+ "sys/fs/file-nr"
};
struct globals {
@@ -754,7 +754,7 @@ static void collect_info(s_stat *s)
typedef s_stat* init_func(const char *param);
-static const char options[] = "ncmsfixptbdr";
+static const char options[] ALIGN1 = "ncmsfixptbdr";
static init_func *const init_functions[] = {
init_if,
init_cpu,
@@ -767,7 +767,7 @@ static init_func *const init_functions[] = {
init_time,
init_blk,
init_delay,
- init_cr,
+ init_cr
};
int nmeter_main(int argc, char **argv);