aboutsummaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2004-03-14 05:27:26 +0000
committerBruce Evans <bde@FreeBSD.org>2004-03-14 05:27:26 +0000
commit2dc8d58f59cea2ddb81d33315d788053cc29dcdf (patch)
tree285d06553b104804dfc70333b3e12903b4d945a5 /lib/libpthread
parent43a6c75a7ac2bdcaadcb2b4c651e4fc67c89f4dc (diff)
downloadsrc-2dc8d58f59cea2ddb81d33315d788053cc29dcdf.tar.gz
src-2dc8d58f59cea2ddb81d33315d788053cc29dcdf.zip
Fixed a misspelling of 0 as NULL.
Notes
Notes: svn path=/head/; revision=126952
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/thread/thr_concurrency.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_concurrency.c b/lib/libpthread/thread/thr_concurrency.c
index e1d41e32dc18..59e8550203b5 100644
--- a/lib/libpthread/thread/thr_concurrency.c
+++ b/lib/libpthread/thread/thr_concurrency.c
@@ -157,7 +157,7 @@ _thr_setmaxconcurrency(void)
int ret;
len = sizeof(vcpu);
- ret = sysctlbyname("kern.threads.virtual_cpu", &vcpu, &len, NULL, NULL);
+ ret = sysctlbyname("kern.threads.virtual_cpu", &vcpu, &len, NULL, 0);
if (ret == 0 && vcpu > 0)
ret = _thr_setconcurrency(vcpu);
return (ret);