summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2009-09-20 20:19:58 -0400
committerFrans Kaashoek <[email protected]>2009-09-20 20:19:58 -0400
commitccd980bedfcff49ec75cfda4e631b54f0a69bf82 (patch)
tree124ed2e7c343414971659df41b7a5bdafaf0b827
parent074ac7ccd43c08d01a237ce6f14cac10715a51ef (diff)
downloadxv6-labs-ccd980bedfcff49ec75cfda4e631b54f0a69bf82.tar.gz
xv6-labs-ccd980bedfcff49ec75cfda4e631b54f0a69bf82.tar.bz2
xv6-labs-ccd980bedfcff49ec75cfda4e631b54f0a69bf82.zip
nit in comment
-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;