some fixes for update_stat():
authorJohannes Winkelmann <jw@tks6.net>
Sat, 27 Aug 2005 14:55:10 +0000 (14:55 +0000)
committerJohannes Winkelmann <jw@tks6.net>
Sat, 27 Aug 2005 14:55:10 +0000 (14:55 +0000)
commit0727d1e50d6f99700b709471d492767cd3d8e9c9
tree2fdbd13958f3e790995f113ea64dd32d94f7e390
parent2c8acab933b407b9a1b0505632622ee8fba3cd94
some fixes for update_stat():
- initialize cpu_info struct properly (a large conkyrc could pollute that memory area)
- allocate info.cpu_usage to cpu_count + 1

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@220 7f574dfc-610e-0410-a909-a81674777703
src/linux.c