提交 0cfd7b9a 编写于 作者: E Eric Blake 提交者: Cole Robinson

build: fix bitmap conversion when !CPU_ALLOC

Commit f1a43a8e missed one side of an #if/#else.

* src/util/processinfo.c (virProcessInfoGetAffinity): Use correct
bitmap operation.
(cherry picked from commit 9038ac65)
上级 72ad93f0
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册