diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-28 23:33:02 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-28 23:33:02 +0000 |
commit | befd5eaec85de9a53fa9e61ae088d56a4856e692 (patch) | |
tree | e2b2e6bf911dbd30d3cdc858bbe0793ea1c51746 /procps/nmeter.c | |
parent | 333aa0c04a34cd35472dec5c2af70f23c4fa2a40 (diff) |
nmeter: cosmetics
Diffstat (limited to 'procps/nmeter.c')
-rw-r--r-- | procps/nmeter.c | 2 |
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; } |