diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2002-08-17 02:36:16 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2002-08-17 02:36:16 +0000 |
| commit | d49fa1ca6ed75bd712b6eecb7383e9abe8b96943 (patch) | |
| tree | fe31f7ea9a8713005d8ba378b027671dbea5c058 /sys/compat/linux/linux_file.c | |
| parent | c068736a6139e9a60b6b4747f762a572e1b002f4 (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux/linux_file.c')
| -rw-r--r-- | sys/compat/linux/linux_file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index 847e23e50fb2..fc634ba3adfd 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -143,7 +143,8 @@ linux_open(struct thread *td, struct linux_open_args *args) PROC_UNLOCK(p); if (!error) { if (fp->f_type == DTYPE_VNODE) - fo_ioctl(fp, TIOCSCTTY, (caddr_t) 0, td); + fo_ioctl(fp, TIOCSCTTY, (caddr_t) 0, td->td_ucred, + td); fdrop(fp, td); } } else { |
