From: Eric Blake Date: Mon, 1 Oct 2012 23:00:58 +0000 (-0600) Subject: build: fix bitmap conversion when !CPU_ALLOC X-Git-Tag: v1.0.0-rc1~185 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9038ac65dafde5a404daf0b416e1f8bf80af683a;p=thirdparty%2Flibvirt.git build: fix bitmap conversion when !CPU_ALLOC Commit f1a43a8 missed one side of an #if/#else. * src/util/processinfo.c (virProcessInfoGetAffinity): Use correct bitmap operation. --- diff --git a/src/util/processinfo.c b/src/util/processinfo.c index d9d255cd77..d4f8f4b672 100644 --- a/src/util/processinfo.c +++ b/src/util/processinfo.c @@ -161,7 +161,7 @@ realloc: for (i = 0 ; i < maxcpu ; i++) if (CPU_ISSET(i, &mask)) - VIR_USE_CPU(map, i); + ignore_value(virBitmapSetBit(*map, i)); # endif return 0;