mirror of https://gitee.com/openkylin/libvirt.git
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…
Reference in New Issue