summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-12-19 15:41:01 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-12-19 15:41:01 +0000
commitd5f945e52d030ab0320afd5dc14edee215b8c5c5 (patch)
tree5efca8581b59577921faea6936eb0098db68bea2 /lib
parentfaad135a3485c1937647375bf90703d20730c9f8 (diff)
fix rev 1.9
pthread_concurrency -> pthread_setconcurrency
Diffstat (limited to 'lib')
-rw-r--r--lib/librthread/rthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librthread/rthread.c b/lib/librthread/rthread.c
index 9ae259324b1..43c88a82455 100644
--- a/lib/librthread/rthread.c
+++ b/lib/librthread/rthread.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rthread.c,v 1.10 2005/12/19 06:47:40 tedu Exp $ */
+/* $OpenBSD: rthread.c,v 1.11 2005/12/19 15:41:00 brad Exp $ */
/*
* Copyright (c) 2004,2005 Ted Unangst <tedu@openbsd.org>
* All Rights Reserved.
@@ -334,7 +334,7 @@ pthread_getconcurrency(void)
}
int
-pthread_concurrency(int new_level)
+pthread_setconcurrency(int new_level)
{
if (new_level < 0)
return (EINVAL);