summaryrefslogtreecommitdiff
path: root/misc.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-06-21 03:04:37 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-06-21 03:04:37 +0000
commit352b1c2130cec67ec09401f297dff461f6a2f623 (patch)
tree7b75f78216fcffed2354f374d0dfbcfbc84a815a /misc.c
parent805cf5a78829369dde4fc39510c0a307b255b704 (diff)
- markus@cvs.openbsd.org 2001/06/16 08:49:38
[misc.c] typo; dunlap@apl.washington.edu
Diffstat (limited to 'misc.c')
-rw-r--r--misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc.c b/misc.c
index 5e98b8bb3..aa9d775f4 100644
--- a/misc.c
+++ b/misc.c
@@ -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"
28RCSID("$OpenBSD: misc.c,v 1.9 2001/05/19 19:43:57 stevesk Exp $"); 28RCSID("$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)