projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a0b229
)
processes.c: fix uninitialized variables warnings
author
Aurelien Reynaud
<collectd@wattapower.net>
Wed, 12 May 2010 09:55:04 +0000
(11:55 +0200)
committer
Florian Forster
<octo@huhu.verplant.org>
Wed, 19 May 2010 10:29:40 +0000
(12:29 +0200)
Signed-off-by: Aurelien Reynaud <collectd@wattapower.net>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/processes.c
patch
|
blob
|
history
diff --git
a/src/processes.c
b/src/processes.c
index
f2eb0a3
..
670aa8d
100644
(file)
--- a/
src/processes.c
+++ b/
src/processes.c
@@
-1690,6
+1690,11
@@
static int ps_read (void)
pse.vmem_rss = (procentry[i].pi_drss + procentry[i].pi_trss) * pagesize;
pse.stack_size = 0;
+ pse.io_rchar = -1;
+ pse.io_wchar = -1;
+ pse.io_syscr = -1;
+ pse.io_syscw = -1;
+
ps_list_add (cmdline, cargs, &pse);
} /* for (i = 0 .. nprocs) */