提交 9038ac65 编写于 作者: E Eric Blake

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.
上级 13c69cd0
......@@ -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.
先完成此消息的编辑!
想要评论请 注册