mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-28 08:35:22 +00:00
build: fix bitmap conversion when !CPU_ALLOC
Commitf1a43a8
missed one side of an #if/#else. * src/util/processinfo.c (virProcessInfoGetAffinity): Use correct bitmap operation. (cherry picked from commit9038ac65da
)
This commit is contained in:
parent
72ad93f00d
commit
0cfd7b9afe
@ -161,7 +161,7 @@ realloc:
|
||||
|
||||
for (i = 0 ; i < maxcpu ; i++)
|
||||
if (CPU_ISSET(i, &mask))
|
||||
VIR_USE_CPU(map, i);
|
||||
ignore_value(virBitmapSetBit(*map, i));
|
||||
# endif
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user