HomeFreeBSD

Fix the type for hw.ncpu, so sysctlbyname doesn't consistently fail on

Description

Fix the type for hw.ncpu, so sysctlbyname doesn't consistently fail on
64-bit architectures where sizeof(int) != sizeof(size_t).

MFC after: 1 week
PR: 206758
Reported by: Christoph Schönweiler <public2016@hauptsignal.at>
Submitted by: kib
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
ngieAuthored on
Parents
rS295078: MFhead @ r295077
Branches
Unknown
Tags
Unknown