sysctlbyname needs size_t type, not int.

This commit is contained in:
davidxu 2003-07-31 08:26:58 +00:00
parent c322666362
commit f34f8f8b3e
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ int
_thr_setmaxconcurrency(void)
{
int vcpu;
int len;
size_t len;
int ret;
len = sizeof(vcpu);

View File

@ -127,7 +127,7 @@ int
_thr_setmaxconcurrency(void)
{
int vcpu;
int len;
size_t len;
int ret;
len = sizeof(vcpu);