summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2001-11-24 14:09:50 +0000
committerdes <des@FreeBSD.org>2001-11-24 14:09:50 +0000
commit7cb716c1004b287a9a7098af4cadbc6e9efc0c2e (patch)
tree05e181340e9ce26e1b189d8fcd74f56d2e1e50f5 /sys/compat
parent6524b810339066f8b5ffaca2e8e58cc637702ace (diff)
downloadFreeBSD-src-7cb716c1004b287a9a7098af4cadbc6e9efc0c2e.zip
FreeBSD-src-7cb716c1004b287a9a7098af4cadbc6e9efc0c2e.tar.gz
Revert incorrect KSEfication: realitexpire expects a struct proc *, not a
struct thread *.
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
index 64b9782..96fc6dc 100644
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -189,7 +189,7 @@ linux_alarm(struct thread *td, struct linux_alarm_args *args)
callout_stop(&td->td_proc->p_itcallout);
if (it.it_value.tv_sec != 0) {
callout_reset(&td->td_proc->p_itcallout, tvtohz(&it.it_value),
- realitexpire, td);
+ realitexpire, td->td_proc);
timevaladd(&it.it_value, &tv);
}
td->td_proc->p_realtimer = it;
OpenPOWER on IntegriCloud