summaryrefslogtreecommitdiff
path: root/lib/libpthread/uthread/uthread_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/uthread/uthread_open.c')
-rw-r--r--lib/libpthread/uthread/uthread_open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/uthread/uthread_open.c b/lib/libpthread/uthread/uthread_open.c
index bf55d7d8bb9..aa2d3dd9b56 100644
--- a/lib/libpthread/uthread/uthread_open.c
+++ b/lib/libpthread/uthread/uthread_open.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_open.c,v 1.6 2000/01/06 07:20:10 d Exp $ */
+/* $OpenBSD: uthread_open.c,v 1.7 2006/09/22 19:04:33 kurt Exp $ */
/*
* Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>
* All rights reserved.
@@ -63,7 +63,7 @@ open(const char *path, int flags,...)
if ((fd = _thread_sys_open(path, flags, mode)) < 0) {
}
/* Initialise the file descriptor table entry: */
- else if (_thread_fd_table_init(fd) != 0) {
+ else if (_thread_fd_table_init(fd, NULL) != 0) {
/* Quietly close the file: */
_thread_sys_close(fd);