diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2004-03-12 19:06:18 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2004-03-12 19:06:18 +0000 |
| commit | 1ed3e44f22f608d886c43d16c35fdec39dd1e4bd (patch) | |
| tree | d0d728973ba60a3d4ff65c79d64db034a4d360d3 /sys/kern/kern_condvar.c | |
| parent | 595bc82a1d0426ee3de367dde3a6c4c0582307d7 (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_condvar.c')
| -rw-r--r-- | sys/kern/kern_condvar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_condvar.c b/sys/kern/kern_condvar.c index 0816213fc197..6fff7e083e46 100644 --- a/sys/kern/kern_condvar.c +++ b/sys/kern/kern_condvar.c @@ -245,7 +245,7 @@ cv_timedwait(struct cv *cvp, struct mtx *mp, int timo) mtx_unlock(mp); sleepq_add(sq, cvp, mp, cvp->cv_description, SLEEPQ_CONDVAR); - sleepq_set_timeout(sq, cvp, timo); + sleepq_set_timeout(cvp, timo); rval = sleepq_timedwait(cvp, 0); #ifdef KTRACE @@ -303,7 +303,7 @@ cv_timedwait_sig(struct cv *cvp, struct mtx *mp, int timo) mtx_unlock(mp); sleepq_add(sq, cvp, mp, cvp->cv_description, SLEEPQ_CONDVAR); - sleepq_set_timeout(sq, cvp, timo); + sleepq_set_timeout(cvp, timo); sig = sleepq_catch_signals(cvp); /* * XXX: Missing magic return value handling for no signal |
