]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix an off-by-one bug in the CPU and domain ID parser.
authormarkj <markj@FreeBSD.org>
Sun, 1 Sep 2019 21:20:31 +0000 (21:20 +0000)
committermarkj <markj@FreeBSD.org>
Sun, 1 Sep 2019 21:20:31 +0000 (21:20 +0000)
commit906e73af399c21e030b87a98e3dfe11a64d24030
treec5e26ac2fcf6744aa731d731966ecf68cfeacb3c
parentdf7b2ed737fd6b81fdde2c1e5b43ec57bc8b4c68
Fix an off-by-one bug in the CPU and domain ID parser.

The "size" parameter is the size of the corresponding bit set, so the
maximum CPU or domain index is size - 1.

MFC after: 1 week
usr.bin/cpuset/cpuset.c