diff options
| author | Jonathan Lemon <jlemon@FreeBSD.org> | 2001-03-02 19:29:53 +0000 |
|---|---|---|
| committer | Jonathan Lemon <jlemon@FreeBSD.org> | 2001-03-02 19:29:53 +0000 |
| commit | 358325bf4a208e2d0cc4667961aa22a6df1206ba (patch) | |
| tree | abf50bf0fe2414c82e60e72d28c874ec3932bb74 /sys/compat/linux/linux_socket.c | |
| parent | afcf05e46aacbe58f9fd8338ab6ecf9b7d06d004 (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux/linux_socket.c')
| -rw-r--r-- | sys/compat/linux/linux_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c index 079d5dd4ae0f..e47c725ec5cc 100644 --- a/sys/compat/linux/linux_socket.c +++ b/sys/compat/linux/linux_socket.c @@ -423,7 +423,7 @@ linux_connect(struct proc *p, struct linux_connect_args *args) error = EISCONN; if (fp->f_flag & FNONBLOCK) { so = (struct socket *)fp->f_data; - if ((u_int)so->so_emuldata != 0) + if ((u_int)so->so_emuldata == 0) error = so->so_error; so->so_emuldata = (void *)1; } |
