projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
7a18567
)
Auto-Merge pull request #2553 from octo/cid/179230
author
collectd bot
<32910397+collectd-bot@users.noreply.github.com>
Fri, 17 Nov 2017 17:04:45 +0000
(18:04 +0100)
committer
GitHub
<noreply@github.com>
Fri, 17 Nov 2017 17:04:45 +0000
(18:04 +0100)
Automatically merged due to "Automerge" label
src/processes.c
patch
|
blob
|
history
diff --git
a/src/processes.c
b/src/processes.c
index
89cf3e0
..
f556912
100644
(file)
--- a/
src/processes.c
+++ b/
src/processes.c
@@
-502,7
+502,7
@@
static void ps_list_add(const char *name, const char *cmdline,
ps_update_counter(&ps->io_diskw, &pse->io_diskw, entry->io_diskw);
}
- if ((entry->cswitch_vol != -1) && (entry->cswitch_vol != -1)) {
+ if ((entry->cswitch_vol != -1) && (entry->cswitch_
in
vol != -1)) {
ps_update_counter(&ps->cswitch_vol, &pse->cswitch_vol,
entry->cswitch_vol);
ps_update_counter(&ps->cswitch_invol, &pse->cswitch_invol,