summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5f6cbeb)
raw | patch | inline | side by side (parent: 5f6cbeb)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 27 May 2008 15:36:17 +0000 (17:36 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Tue, 27 May 2008 15:36:17 +0000 (17:36 +0200) |
And remove a newline.
src/processes.c | patch | blob | history |
diff --git a/src/processes.c b/src/processes.c
index 14fe1d8cf040dff66e11f3f5a3562ba426bbd7c7..9d48a8ad40dcd0ce4a019db16219aef8dd9f0652 100644 (file)
--- a/src/processes.c
+++ b/src/processes.c
@@ -285,7 +285,6 @@ static void ps_list_add (const char *name, const char *cmdline, procstat_entry_t
for (ps = list_head_g; ps != NULL; ps = ps->next)
{
-
if ((ps_list_match (name, cmdline, ps)) == 0)
continue;
{
/* search for at least one match */
for (ps = list_head_g; ps != NULL; ps = ps->next)
- if (ps_list_match(task_name, NULL, ps) == 1) //!!! cmdline should be here instead of NULL
+ /* FIXME: cmdline should be here instead of NULL */
+ if (ps_list_match (task_name, NULL, ps) == 1)
break;
}
}
if (ps != NULL)
- ps_list_add (task_name, NULL, &pse); //!!! cmdline should be here instead of NULL
+ /* FIXME: cmdline should be here instead of NULL */
+ ps_list_add (task_name, NULL, &pse);
} /* for (task_list) */
if ((status = vm_deallocate (port_task_self,
case 'W': paging++; break;
}
- ps_list_add (ps.name, NULL, &pse); //!!! cmdline should be here instead of NULL
+ /* FIXME: cmdline should be here instead of NULL */
+ ps_list_add (ps.name, NULL, &pse);
}
closedir (proc);
/* Iterate through the processes in kinfo_proc */
for (i=0; i < count; i++) {
- // retrieve the arguments
+ /* retrieve the arguments */
*cmdline = '\0';
argv = kvm_getargv(kd, (const struct kinfo_proc *) &(procs[i]), 0);
if (argv) {