summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/uthread
diff options
context:
space:
mode:
authorkurt <kurt@openbsd.org>2006-09-26 15:09:59 +0000
committerkurt <kurt@openbsd.org>2006-09-26 15:09:59 +0000
commit0302781fc5d0de70352eb7d1f859ee1c515d6eeb (patch)
tree636f7dbd3113b250004f72a8e541a9c60baa5b39 /lib/libpthread/uthread
parent- Use mmap to allocate thread stacks instead of malloc. This prevents (diff)
downloadwireguard-openbsd-0302781fc5d0de70352eb7d1f859ee1c515d6eeb.tar.xz
wireguard-openbsd-0302781fc5d0de70352eb7d1f859ee1c515d6eeb.zip
style(9) extra space
Diffstat (limited to 'lib/libpthread/uthread')
-rw-r--r--lib/libpthread/uthread/uthread_fd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/uthread/uthread_fd.c b/lib/libpthread/uthread/uthread_fd.c
index dfdba6fb50f..c226cc801c2 100644
--- a/lib/libpthread/uthread/uthread_fd.c
+++ b/lib/libpthread/uthread/uthread_fd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_fd.c,v 1.25 2006/09/26 14:18:28 kurt Exp $ */
+/* $OpenBSD: uthread_fd.c,v 1.26 2006/09/26 15:09:59 kurt Exp $ */
/*
* Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>
* All rights reserved.
@@ -751,7 +751,7 @@ _thread_fd_lock(int fd, int lock_type, struct timespec * timeout)
}
/* Handle write locks */
- if ( ret == 0 && (lock_type & FD_WRITE)) {
+ if (ret == 0 && (lock_type & FD_WRITE)) {
/*
* Enter a loop to wait for the file descriptor to be
* locked for write for the current thread: