diff options
| author | Seigo Tanimura <tanimura@FreeBSD.org> | 2002-02-23 11:12:57 +0000 |
|---|---|---|
| committer | Seigo Tanimura <tanimura@FreeBSD.org> | 2002-02-23 11:12:57 +0000 |
| commit | f591779bb575703cbb6674d324afb4bd212b8cbb (patch) | |
| tree | 2289c653c0f7aa23498f82b603c33107952652ec /sys/compat/linux/linux_file.c | |
| parent | 4aaca8854285a47e7fd520d5a2797dbf03d05bec (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 1dfa4a153154..dd4f219a3eb2 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; } |
