提交 5ceb34ee 编写于 作者: R Roman Bogorodskiy

util: process: fix build on FreeBSD

Commit 825df8c3 refactored virProcess{Set,Get}Affinity routines,
however broke BSD implementation because of the incorrect variable
name. Fix build by using a proper variable name.

Pushing as trivial and build break fix.
上级 679576cf
......@@ -566,7 +566,7 @@ virProcessGetAffinity(pid_t pid)
return NULL;
}
if (!(*map = virBitmapNew(sizeof(mask) * 8)))
if (!(ret = virBitmapNew(sizeof(mask) * 8)))
return NULL;
for (i = 0; i < sizeof(mask) * 8; i++)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册