summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 09229f7)
raw | patch | inline | side by side (parent: 09229f7)
author | Manuel Luis Sanmartín Rozada <manuel.luis@gmail.com> | |
Sun, 31 May 2015 18:49:58 +0000 (20:49 +0200) | ||
committer | Manuel Luis Sanmartín Rozada <manuel.luis@gmail.com> | |
Sun, 31 May 2015 18:49:58 +0000 (20:49 +0200) |
src/processes.c | patch | blob | history |
diff --git a/src/processes.c b/src/processes.c
index 7306edb01a9b6c0b6f2b477daba1cde20d6762ba..d549291e063e12d18e7226143651fee91371cce7 100644 (file)
--- a/src/processes.c
+++ b/src/processes.c
@@ -362,7 +362,7 @@ static int ps_list_match (const char *name, const char *cmdline, procstat_t *ps)
static void ps_list_add (const char *name, const char *cmdline, procstat_entry_t *entry)
{
procstat_t *ps;
- procstat_entry_t *pse;
+ procstat_entry_t *pse;
if (entry->id == 0)
return;
@@ -498,7 +498,6 @@ static void ps_list_add (const char *name, const char *cmdline, procstat_entry_t
ps->cpu_user_counter += pse->cpu_user;
ps->cpu_system_counter += pse->cpu_system;
-
}
}