summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/librthread/rthread.h4
-rw-r--r--lib/librthread/rthread_sig.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/librthread/rthread.h b/lib/librthread/rthread.h
index 0d8dafd08cd..769e513e5fc 100644
--- a/lib/librthread/rthread.h
+++ b/lib/librthread/rthread.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rthread.h,v 1.19 2008/10/03 04:22:37 guenther Exp $ */
+/* $OpenBSD: rthread.h,v 1.20 2009/02/20 02:38:57 guenther Exp $ */
/*
* Copyright (c) 2004,2005 Ted Unangst <tedu@openbsd.org>
* All Rights Reserved.
@@ -166,4 +166,4 @@ void threxit(int);
int thrsleep(void *, int, void *);
int thrwakeup(void *, int n);
int sched_yield(void);
-int thrsigdivert(const sigset_t *);
+int thrsigdivert(sigset_t);
diff --git a/lib/librthread/rthread_sig.c b/lib/librthread/rthread_sig.c
index 83dc5eee2b7..1437e2a0c97 100644
--- a/lib/librthread/rthread_sig.c
+++ b/lib/librthread/rthread_sig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rthread_sig.c,v 1.6 2008/10/03 04:22:37 guenther Exp $ */
+/* $OpenBSD: rthread_sig.c,v 1.7 2009/02/20 02:38:57 guenther Exp $ */
/*
* Copyright (c) 2005 Ted Unangst <tedu@openbsd.org>
* All Rights Reserved.
@@ -47,7 +47,7 @@ sigwait(const sigset_t *set, int *sig)
{
int ret;
- ret = thrsigdivert(set);
+ ret = thrsigdivert(*set);
if (ret == -1)
return errno;
*sig = ret;