mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +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++)
|
||||
if (CPU_ISSET(i, &mask))
|
||||
VIR_USE_CPU(map, i);
|
||||
ignore_value(virBitmapSetBit(*map, i));
|
||||
# endif
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user