sysctlbyname needs size_t type, not int.

This commit is contained in:
David Xu 2003-07-31 08:26:58 +00:00
parent 1716a1af0d
commit 64e64426d7
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);