diff options
author | bde <bde@FreeBSD.org> | 2004-03-14 05:27:26 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2004-03-14 05:27:26 +0000 |
commit | 1e78a65d3aa6589373dc4e14d475393e9a7f984c (patch) | |
tree | 285d06553b104804dfc70333b3e12903b4d945a5 /lib/libpthread/thread/thr_concurrency.c | |
parent | 07e9f5afcafa05803364f4238c2794141edf058c (diff) | |
download | FreeBSD-src-1e78a65d3aa6589373dc4e14d475393e9a7f984c.zip FreeBSD-src-1e78a65d3aa6589373dc4e14d475393e9a7f984c.tar.gz |
Fixed a misspelling of 0 as NULL.
Diffstat (limited to 'lib/libpthread/thread/thr_concurrency.c')
-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 e1d41e3..59e8550 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); |