summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-06-28 23:33:02 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-06-28 23:33:02 +0000
commitbefd5eaec85de9a53fa9e61ae088d56a4856e692 (patch)
treee2b2e6bf911dbd30d3cdc858bbe0793ea1c51746
parent333aa0c04a34cd35472dec5c2af70f23c4fa2a40 (diff)
nmeter: cosmetics
-rw-r--r--procps/nmeter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/procps/nmeter.c b/procps/nmeter.c
index 888b827ea..86007eee0 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;
}