Current uses struct thread *td rather than struct proc *p.

This commit is contained in:
Warner Losh 2002-09-20 04:30:00 +00:00
parent 7f156483af
commit fe7d45f8f8

View File

@ -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));
}
/*