projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
network plugin: fd_num is unsigned
[collectd.git]
/
src
/
processes.c
diff --git
a/src/processes.c
b/src/processes.c
index
4f2283f
..
5a795b5
100644
(file)
--- a/
src/processes.c
+++ b/
src/processes.c
@@
-1092,7
+1092,7
@@
static int ps_read_process (long pid, procstat_t *ps, char *state)
ps->vmem_code = -1;
DEBUG("ps_read_process: did not get vmem data for pid %li", pid);
}
- if (ps->num_lwp
<
= 0)
+ if (ps->num_lwp
=
= 0)
ps->num_lwp = 1;
ps->num_proc = 1;
}