diff options
author | Bruce Evans <bde@FreeBSD.org> | 2004-03-14 05:27:26 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 2004-03-14 05:27:26 +0000 |
commit | 2dc8d58f59cea2ddb81d33315d788053cc29dcdf (patch) | |
tree | 285d06553b104804dfc70333b3e12903b4d945a5 /lib/libpthread | |
parent | 43a6c75a7ac2bdcaadcb2b4c651e4fc67c89f4dc (diff) | |
download | src-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.c | 2 |
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); |