oops
This commit is contained in:
parent
2875069973
commit
47323c97cf
|
@ -401,7 +401,7 @@ wait(uint64 addr)
|
|||
if(addr != 0 && copyout(p->pagetable, addr, (char *)&np->xstate,
|
||||
sizeof(np->xstate)) < 0) {
|
||||
release(&np->lock);
|
||||
release(&p->lock);
|
||||
release(&proc_tree_lock);
|
||||
return -1;
|
||||
}
|
||||
freeproc(np);
|
||||
|
|
Loading…
Reference in a new issue