summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/ssh/util.c6
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. */