summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7a18567)
raw | patch | inline | side by side (parent: 7a18567)
author | Florian Forster <octo@collectd.org> | |
Fri, 17 Nov 2017 16:11:32 +0000 (17:11 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 17 Nov 2017 16:11:32 +0000 (17:11 +0100) |
CID: 179230
src/processes.c | patch | blob | history |
diff --git a/src/processes.c b/src/processes.c
index 89cf3e0ee549437f29b489a35825896aa557d91f..f556912348b04585e6d360255918382b35adab7b 100644 (file)
--- a/src/processes.c
+++ b/src/processes.c
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_invol != -1)) {
ps_update_counter(&ps->cswitch_vol, &pse->cswitch_vol,
entry->cswitch_vol);
ps_update_counter(&ps->cswitch_invol, &pse->cswitch_invol,