diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2003-04-23 18:13:26 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2003-04-23 18:13:26 +0000 |
| commit | c6004a62025d59825f4b31288fa98cf23535408c (patch) | |
| tree | b80dfe7b8c5d58cf9623b6d31a08d149e10d7d75 /sys/compat/linux/linux_file.c | |
| parent | 581ff5e32659ed7d2810fdfedb546fd47c14d9dc (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux/linux_file.c')
| -rw-r--r-- | sys/compat/linux/linux_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index 2eea67b69b1f..5736bc393b74 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -126,8 +126,8 @@ linux_open(struct thread *td, struct linux_open_args *args) SESS_LEADER(p) && !(p->p_flag & P_CONTROLT)) { struct file *fp; - error = fget(td, td->td_retval[0], &fp); PROC_UNLOCK(p); + error = fget(td, td->td_retval[0], &fp); if (!error) { if (fp->f_type == DTYPE_VNODE) fo_ioctl(fp, TIOCSCTTY, (caddr_t) 0, td->td_ucred, |
