mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-08 07:15:46 +00:00
build: fix bitmap conversion when !CPU_ALLOC
Commit f1a43a8
missed one side of an #if/#else.
* src/util/processinfo.c (virProcessInfoGetAffinity): Use correct
bitmap operation.
This commit is contained in:
parent
13c69cd0b4
commit
9038ac65da
@ -161,7 +161,7 @@ realloc:
|
|||||||
|
|
||||||
for (i = 0 ; i < maxcpu ; i++)
|
for (i = 0 ; i < maxcpu ; i++)
|
||||||
if (CPU_ISSET(i, &mask))
|
if (CPU_ISSET(i, &mask))
|
||||||
VIR_USE_CPU(map, i);
|
ignore_value(virBitmapSetBit(*map, i));
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user