[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox-cvs
Subject:    svn commit: trunk/busybox/procps
From:       vda () busybox ! net (vda at busybox ! net)
Date:       2008-06-28 23:33:02
Message-ID: 20080628233302.624503C65B () busybox ! net
[Download RAW message or body]

Author: vda
Date: 2008-06-28 16:33:02 -0700 (Sat, 28 Jun 2008)
New Revision: 22555

Log:
nmeter: cosmetics



Modified:
   trunk/busybox/procps/nmeter.c


Changeset:
Modified: trunk/busybox/procps/nmeter.c
===================================================================
--- trunk/busybox/procps/nmeter.c	2008-06-28 23:30:37 UTC (rev 22554)
+++ trunk/busybox/procps/nmeter.c	2008-06-28 23:33:02 UTC (rev 22555)
@@ -281,7 +281,7 @@
 
 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;
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic