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.
This commit is contained in:
Roman Bogorodskiy 2015-06-08 11:13:41 +04:00
parent 679576cf8c
commit 5ceb34eea0

View File

@ -566,7 +566,7 @@ virProcessGetAffinity(pid_t pid)
return NULL; return NULL;
} }
if (!(*map = virBitmapNew(sizeof(mask) * 8))) if (!(ret = virBitmapNew(sizeof(mask) * 8)))
return NULL; return NULL;
for (i = 0; i < sizeof(mask) * 8; i++) for (i = 0; i < sizeof(mask) * 8; i++)