From f83f7ce2f6ef5b840d8af8ed2573e1934865406f Mon Sep 17 00:00:00 2001 From: rsc Date: Wed, 8 Aug 2007 08:57:55 +0000 Subject: [PATCH] set init name --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index add0f92..dda3e29 100644 --- a/main.c +++ b/main.c @@ -147,6 +147,7 @@ process0() load_icode(p1, _binary__init_start, (uint) _binary__init_size); p1->state = RUNNABLE; + safestrcpy(p1->name, "init", sizeof p1->name); proc_wait(); panic("init exited");