diff options
| author | Warner Losh <imp@FreeBSD.org> | 2002-09-20 04:30:00 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2002-09-20 04:30:00 +0000 |
| commit | fe7d45f8f8caaabd3120337fb8b7976480ca3843 (patch) | |
| tree | a876a7c717316c3baf14483a3d1d8ae75f2415f7 | |
| parent | 7f156483afdd9ecf0a718160e9f4b841ac7e8ab6 (diff) | |
Notes
| -rw-r--r-- | sys/compat/linux/linux_ioctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 084d1440a61f..82675f364a26 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)); } /* |
