diff options
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 1dfa4a1..dd4f219 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -144,12 +144,13 @@ linux_open(struct thread *td, struct linux_open_args *args) fo_ioctl(fp, TIOCSCTTY, (caddr_t) 0, td); fdrop(fp, td); } - } else + } else { PROC_UNLOCK(p); #ifdef DEBUG if (ldebug(open)) printf(LMSG("open returns error %d"), error); #endif + } return error; } |