oops
This commit is contained in:
parent
8d4fbc6e2a
commit
7dea4b93c8
|
@ -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