summaryrefslogtreecommitdiffstats
path: root/lib/libpthread
diff options
context:
space:
mode:
authormarc <marc@openbsd.org>2003-02-14 02:34:16 +0000
committermarc <marc@openbsd.org>2003-02-14 02:34:16 +0000
commit34a01000d053e53f7a5b1d0589c641b934e963dc (patch)
treead40fc93154e1b343805e9c529be8bcf19215bd7 /lib/libpthread
parentLet UBSEC_DEBUG compile; based on diff from sam at errno dot com (diff)
downloadwireguard-openbsd-34a01000d053e53f7a5b1d0589c641b934e963dc.tar.xz
wireguard-openbsd-34a01000d053e53f7a5b1d0589c641b934e963dc.zip
white space
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/uthread/uthread_shutdown.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpthread/uthread/uthread_shutdown.c b/lib/libpthread/uthread/uthread_shutdown.c
index 991fb2c932d..b3219ec73a5 100644
--- a/lib/libpthread/uthread/uthread_shutdown.c
+++ b/lib/libpthread/uthread/uthread_shutdown.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uthread_shutdown.c,v 1.3 1999/11/25 07:01:44 d Exp $ */
+/* $OpenBSD: uthread_shutdown.c,v 1.4 2003/02/14 02:34:16 marc Exp $ */
/*
* Copyright (c) 1995-1998 John Birrell <jb@cimlogic.com.au>
* All rights reserved.
@@ -46,19 +46,19 @@ shutdown(int fd, int how)
switch (how) {
case 0:
- if ((ret = _FD_LOCK(fd, FD_READ, NULL)) == 0) {
+ if ((ret = _FD_LOCK(fd, FD_READ, NULL)) == 0) {
ret = _thread_sys_shutdown(fd, how);
_FD_UNLOCK(fd, FD_READ);
}
break;
case 1:
- if ((ret = _FD_LOCK(fd, FD_WRITE, NULL)) == 0) {
+ if ((ret = _FD_LOCK(fd, FD_WRITE, NULL)) == 0) {
ret = _thread_sys_shutdown(fd, how);
_FD_UNLOCK(fd, FD_WRITE);
}
break;
case 2:
- if ((ret = _FD_LOCK(fd, FD_RDWR, NULL)) == 0) {
+ if ((ret = _FD_LOCK(fd, FD_RDWR, NULL)) == 0) {
ret = _thread_sys_shutdown(fd, how);
_FD_UNLOCK(fd, FD_RDWR);
}