Skip to content
Commit 97ba273b authored by Gleb Fotengauer-Malinovskiy's avatar Gleb Fotengauer-Malinovskiy Committed by Dmitry V. Levin
Browse files

linux: __get_nprocs_sched: do not feed CPU_COUNT_S with garbage [BZ #28850]



Pass the actual number of bytes returned by the kernel.

Fixes: 33099d72 ("linux: Simplify get_nprocs")
Reviewed-by: default avatarDmitry V. Levin <ldv@altlinux.org>
parent a9d35765
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment