summaryrefslogtreecommitdiffstats
path: root/sys/kern/sched_4bsd.c
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2006-12-24 01:52:27 +0000
committerdavidxu <davidxu@FreeBSD.org>2006-12-24 01:52:27 +0000
commitf51b738f57f9c5d4072b6be007a3e21615f56e3d (patch)
tree7f57ce5813b91f626b28c19c777921c617a6f736 /sys/kern/sched_4bsd.c
parentfb5ffbe0ec2a51bccaf7c7fe1002a4055b521822 (diff)
downloadFreeBSD-src-f51b738f57f9c5d4072b6be007a3e21615f56e3d.zip
FreeBSD-src-f51b738f57f9c5d4072b6be007a3e21615f56e3d.tar.gz
Fix typo, p_slptime should be td_slptime.
Diffstat (limited to 'sys/kern/sched_4bsd.c')
-rw-r--r--sys/kern/sched_4bsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sched_4bsd.c b/sys/kern/sched_4bsd.c
index 3fe2682..0d12109 100644
--- a/sys/kern/sched_4bsd.c
+++ b/sys/kern/sched_4bsd.c
@@ -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
OpenPOWER on IntegriCloud