From 693c7abe2a2900eab5f5750b311c42d707848129 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Thu, 4 Aug 2005 08:25:10 +0000 Subject: [PATCH] ps was looking for INIT as first user process, but INIT has become init. There are still some checks in ps that presume there are only system processes before INIT and all others are user processes.. --- commands/ps/ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/ps/ps.c b/commands/ps/ps.c index d5379b6c3..88a95a50e 100644 --- a/commands/ps/ps.c +++ b/commands/ps/ps.c @@ -340,7 +340,7 @@ char *argv[]; /* We need to know where INIT hangs out. */ for (i = FS_PROC_NR; i < nr_procs; i++) { - if (strcmp(ps_proc[nr_tasks + i].p_name, "INIT") == 0) break; + if (strcmp(ps_proc[nr_tasks + i].p_name, "init") == 0) break; } init_proc_nr = i; -- 2.44.0