util: Add debug print missing from BSD

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Andrea Bolognani 2024-02-23 01:41:15 +01:00
parent dc3030cc80
commit 593da429ff

View File

@ -453,6 +453,8 @@ int virProcessSetAffinity(pid_t pid,
size_t i;
cpuset_t mask;
VIR_DEBUG("Set process affinity on %lld", (long long)pid);
CPU_ZERO(&mask);
for (i = 0; i < virBitmapSize(map); i++) {
if (virBitmapIsBitSet(map, i))