Don't forget to set syscall result.

This commit is contained in:
David Xu 2002-10-30 02:39:10 +00:00
parent 34e80e027d
commit 37fcb8bcc8
2 changed files with 4 additions and 0 deletions

View File

@ -285,6 +285,8 @@ kse_thr_interrupt(struct thread *td, struct kse_thr_interrupt_args *uap)
abortsleep(td2);
}
mtx_unlock_spin(&sched_lock);
td->td_retval[0] = 0;
td->td_retval[1] = 0;
return 0;
}
}

View File

@ -285,6 +285,8 @@ kse_thr_interrupt(struct thread *td, struct kse_thr_interrupt_args *uap)
abortsleep(td2);
}
mtx_unlock_spin(&sched_lock);
td->td_retval[0] = 0;
td->td_retval[1] = 0;
return 0;
}
}