diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2000-08-28 20:22:03 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2000-08-28 20:22:03 +0000 |
commit | c7bb2497315367856660dd2c17a97115094bc10c (patch) | |
tree | ed1700a19154903622cbd3ebd4982d2ff726aaed | |
parent | abb92534be6332847945f21b60da81b24a1fda86 (diff) |
undo
-rw-r--r-- | usr.bin/ssh/util.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/ssh/util.c b/usr.bin/ssh/util.c index 7085a2c07fb..ff478e4b0d0 100644 --- a/usr.bin/ssh/util.c +++ b/usr.bin/ssh/util.c @@ -1,5 +1,5 @@ #include "includes.h" -RCSID("$OpenBSD: util.c,v 1.2 2000/08/28 20:20:55 markus Exp $"); +RCSID("$OpenBSD: util.c,v 1.3 2000/08/28 20:22:02 markus Exp $"); #include "ssh.h" @@ -37,9 +37,7 @@ set_nonblock(int fd) debug("fd %d setting O_NONBLOCK", fd); val |= O_NONBLOCK; if (fcntl(fd, F_SETFL, val) == -1) - if (errno != ENODEV) - error("fcntl(%d, F_SETFL, O_NONBLOCK): %s", - fd, strerror(errno)); + error("fcntl(%d, F_SETFL, O_NONBLOCK): %s", fd, strerror(errno)); } /* Characters considered whitespace in strsep calls. */ |