set init name

This commit is contained in:
rsc 2007-08-08 08:57:55 +00:00
parent 00d0f794cf
commit f83f7ce2f6

1
main.c
View file

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