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