mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-18 10:35:20 +00:00
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:
parent
679576cf8c
commit
5ceb34eea0
@ -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++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user