From 42910e6e7c2cec1c38a67b13277b19bfda6288f5 Mon Sep 17 00:00:00 2001 From: imp Date: Fri, 20 Sep 2002 04:30:00 +0000 Subject: Current uses struct thread *td rather than struct proc *p. --- sys/compat/linux/linux_ioctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/compat/linux/linux_ioctl.c') diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 084d144..82675f3 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -135,7 +135,7 @@ linux_ioctl_disk(struct thread *td, struct linux_ioctl_args *args) */ static int -linux_ioctl_nvidia(struct proc *p, struct linux_ioctl_args *args) +linux_ioctl_nvidia(struct thread *td, struct linux_ioctl_args *args) { /* * The range has already been checked, and the native NVIDIA ioctl() @@ -144,7 +144,7 @@ linux_ioctl_nvidia(struct proc *p, struct linux_ioctl_args *args) * every one of the possible NVIDIA ioctl() commands. */ - return (ioctl(p, (struct ioctl_args *) args)); + return (ioctl(td, (struct ioctl_args *) args)); } /* -- cgit v1.1