summaryrefslogtreecommitdiff
path: root/lib/libpthread/uthread/uthread_kqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/uthread/uthread_kqueue.c')
-rw-r--r--lib/libpthread/uthread/uthread_kqueue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/uthread/uthread_kqueue.c b/lib/libpthread/uthread/uthread_kqueue.c
index 638d9fe445a..e9c751b9807 100644
--- a/lib/libpthread/uthread/uthread_kqueue.c
+++ b/lib/libpthread/uthread/uthread_kqueue.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_kqueue.c,v 1.2 2006/09/22 19:04:33 kurt Exp $ */
+/* $OpenBSD: uthread_kqueue.c,v 1.3 2006/09/26 14:18:28 kurt Exp $ */
/*
* Copyright (c) 2003 Mark Peek <mp@freebsd.org>
@@ -46,7 +46,7 @@ kqueue(void)
/* Error creating socket. */
/* Initialise the entry in the file descriptor table: */
- } else if (_thread_fd_table_init(fd, NULL) != 0) {
+ } else if (_thread_fd_table_init(fd, FD_INIT_NEW, NULL) != 0) {
_thread_sys_close(fd);
fd = -1;
}