diff options
author | Simon Cornish <[email protected]> | 2013-09-02 23:31:52 -0700 |
---|---|---|
committer | Simon Cornish <[email protected]> | 2013-09-02 23:31:52 -0700 |
commit | efbd406f1b8f148569a40a090c38929a7661d2aa (patch) | |
tree | c889ff72011133f71f56a56c981988c74250f7ae /lib/wx/license.terms | |
parent | 8be8c20d33d67acb205a51897ea5284bc81605e7 (diff) | |
download | otp-efbd406f1b8f148569a40a090c38929a7661d2aa.tar.gz otp-efbd406f1b8f148569a40a090c38929a7661d2aa.tar.bz2 otp-efbd406f1b8f148569a40a090c38929a7661d2aa.zip |
Fix broken cpu_sup:nprocs and others on Solaris 64-bit
The correct kstat datatype for nproc & avenrun_* is ui32, not
ulong. Under 64-bit OTP builds garbage was returned because the wrong
datatype was used.
This patch correcs the datatype. It also adds an additional check
in the test case for a slightly less insane return value.
Diffstat (limited to 'lib/wx/license.terms')
0 files changed, 0 insertions, 0 deletions