nit in comment

This commit is contained in:
Frans Kaashoek 2009-09-20 20:19:58 -04:00
parent 074ac7ccd4
commit ccd980bedf

2
proc.c
View file

@ -116,7 +116,7 @@ found:
p->pid = nextpid++; p->pid = nextpid++;
release(&ptable.lock); release(&ptable.lock);
// Allocate kernel stack if necessary. // Allocate kernel stack if possible.
if((p->kstack = kalloc(KSTACKSIZE)) == 0){ if((p->kstack = kalloc(KSTACKSIZE)) == 0){
p->state = UNUSED; p->state = UNUSED;
return 0; return 0;