diff options
Diffstat (limited to 'misc.c')
-rw-r--r-- | misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: misc.c,v 1.9 2001/05/19 19:43:57 stevesk Exp $ */ | 1 | /* $OpenBSD: misc.c,v 1.10 2001/06/16 08:49:38 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
@@ -25,7 +25,7 @@ | |||
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include "includes.h" | 27 | #include "includes.h" |
28 | RCSID("$OpenBSD: misc.c,v 1.9 2001/05/19 19:43:57 stevesk Exp $"); | 28 | RCSID("$OpenBSD: misc.c,v 1.10 2001/06/16 08:49:38 markus Exp $"); |
29 | 29 | ||
30 | #include "misc.h" | 30 | #include "misc.h" |
31 | #include "log.h" | 31 | #include "log.h" |
@@ -82,7 +82,7 @@ unset_nonblock(int fd) | |||
82 | debug2("fd %d is not O_NONBLOCK", fd); | 82 | debug2("fd %d is not O_NONBLOCK", fd); |
83 | return; | 83 | return; |
84 | } | 84 | } |
85 | debug("fd %d setting O_NONBLOCK", fd); | 85 | debug("fd %d clearing O_NONBLOCK", fd); |
86 | val &= ~O_NONBLOCK; | 86 | val &= ~O_NONBLOCK; |
87 | if (fcntl(fd, F_SETFL, val) == -1) | 87 | if (fcntl(fd, F_SETFL, val) == -1) |
88 | if (errno != ENODEV) | 88 | if (errno != ENODEV) |