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:
Giuseppe Scrivano 2013-10-08 18:21:04 +02:00 committed by Eric Blake
parent 9d13298901
commit a90b9778c2

View File

@ -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"));