]> andersk Git - openssh.git/blobdiff - util.c
- More OpenBSD updates:
[openssh.git] / util.c
diff --git a/util.c b/util.c
index 3b221924e08914d3a8863855eca759c6a270b340..16c8c5072916380b7e11d8d5e06678847418170c 100644 (file)
--- a/util.c
+++ b/util.c
@@ -1,5 +1,5 @@
 #include "includes.h"
-RCSID("$OpenBSD: util.c,v 1.1 2000/08/01 19:01:42 provos Exp $");
+RCSID("$OpenBSD: util.c,v 1.4 2000/08/28 20:23:37 markus Exp $");
 
 #include "ssh.h"
 
@@ -37,7 +37,9 @@ set_nonblock(int fd)
        debug("fd %d setting O_NONBLOCK", fd);
        val |= O_NONBLOCK;
        if (fcntl(fd, F_SETFL, val) == -1)
-               error("fcntl(%d, F_SETFL, O_NONBLOCK): %s", fd, strerror(errno));
+               if (errno != ENODEV)
+                       error("fcntl(%d, F_SETFL, O_NONBLOCK): %s",
+                           fd, strerror(errno));
 }
 
 /* Characters considered whitespace in strsep calls. */
This page took 0.025888 seconds and 4 git commands to generate.