summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco S Hyman <marc@cvs.openbsd.org>2003-02-14 02:34:17 +0000
committerMarco S Hyman <marc@cvs.openbsd.org>2003-02-14 02:34:17 +0000
commit312b62ee1af124aafa5a9451db4d79c571c39776 (patch)
tree58feda08211dd9ea4547f7a50a0134259fe8cfa7
parentd3e2a42e28b7f7fb363f28a9918c9ab29a2f2308 (diff)
white space
-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);
}