Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unix: fix uv_cpu_info always returning UV_ENOTDIR on OpenBSD
The wrong names and name sizes were being used with `sysctl(2)`, which in particular made the call to get the machine's CPU speed always fail with ENOTDIR. PR-URL: libuv#2685 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
- Loading branch information