summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index 96c19f5..669331e 100644
--- a/proc.c
+++ b/proc.c
@@ -116,7 +116,7 @@ found:
p->pid = nextpid++;
release(&ptable.lock);
- // Allocate kernel stack if necessary.
+ // Allocate kernel stack if possible.
if((p->kstack = kalloc(KSTACKSIZE)) == 0){
p->state = UNUSED;
return 0;