This commit is contained in:
Russ Cox
2005-11-02 15:20:27 +00:00
parent 5d6ebf7a53
commit e4f9a4578a
7 changed files with 18 additions and 11 deletions

View File

@ -59,7 +59,7 @@ kproc(char *name, void (*fn)(void*), void *arg)
p->fgrp = up->fgrp;
if(p->fgrp)
incref(&p->fgrp->ref);
strecpy(p->text, sizeof p->text, name);
strecpy(p->text, p->text+sizeof p->text, name);
osproc(p);
return p->pid;