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");