summaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenis Vlasenko2008-06-28 23:33:02 +0000
committerDenis Vlasenko2008-06-28 23:33:02 +0000
commitbefd5eaec85de9a53fa9e61ae088d56a4856e692 (patch)
treee2b2e6bf911dbd30d3cdc858bbe0793ea1c51746 /procps
parent333aa0c04a34cd35472dec5c2af70f23c4fa2a40 (diff)
downloadbusybox-befd5eaec85de9a53fa9e61ae088d56a4856e692.zip
busybox-befd5eaec85de9a53fa9e61ae088d56a4856e692.tar.gz
nmeter: cosmetics
Diffstat (limited to 'procps')
-rw-r--r--procps/nmeter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/nmeter.c b/procps/nmeter.c
index 888b827..86007ee 100644
--- a/procps/nmeter.c
+++ b/procps/nmeter.c
@@ -281,7 +281,7 @@ static void collect_literal(s_stat *s ATTRIBUTE_UNUSED)
static s_stat* init_literal(void)
{
- s_stat *s = xzalloc(sizeof(s_stat));
+ s_stat *s = xzalloc(sizeof(*s));
s->collect = collect_literal;
return (s_stat*)s;
}