Fix typo, p_slptime should be td_slptime.

This commit is contained in:
davidxu 2006-12-24 01:52:27 +00:00
parent fb5ffbe0ec
commit f51b738f57

View File

@ -448,7 +448,7 @@ XXX this is broken
*/
if (awake) {
if (p->p_slptime > 1) {
if (td->td_slptime > 1) {
/*
* In an ideal world, this should not
* happen, because whoever woke us