From befd5eaec85de9a53fa9e61ae088d56a4856e692 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 28 Jun 2008 23:33:02 +0000 Subject: nmeter: cosmetics --- procps/nmeter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'procps') 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; } -- cgit v1.1