mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 23:07:44 +00:00
build: fix linker error on FreeBSD
Commit 2d74822a9e
renamed
"freebsdNodeGetCPUCount" to "appleFreebsdNodeGetCPUCount", leaving one
call to "freebsdNodeGetCPUCount". Fix this other case.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
9d13298901
commit
a90b9778c2
@ -1056,8 +1056,8 @@ nodeGetCPUCount(void)
|
||||
|
||||
VIR_FREE(cpupath);
|
||||
return ncpu;
|
||||
#elif defined(__FreeBSD__)
|
||||
return freebsdNodeGetCPUCount();
|
||||
#elif defined(__FreeBSD__) || defined(__APPLE__)
|
||||
return appleFreebsdNodeGetCPUCount();
|
||||
#else
|
||||
virReportError(VIR_ERR_NO_SUPPORT, "%s",
|
||||
_("host cpu counting not implemented on this platform"));
|
||||
|
Loading…
Reference in New Issue
Block a user