From: Wei Liu Date: Mon, 13 Jun 2016 09:11:41 +0000 (+0100) Subject: tests: fix CPUID detection tests compilation failure X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=148689ec967a2c666e3c73b59f83bc71686e8799;p=libvirt.git tests: fix CPUID detection tests compilation failure In 3704b9003 ("tests: Add CPU detection tests"), a macro called DO_TEST_CPUID_JSON is added. But it took only two arguments when QEMU or YAJL is not set. Fix it by adding a third argument. Shouldn't have any effect because that macro compiles to nothing. Signed-off-by: Wei Liu --- diff --git a/tests/cputest.c b/tests/cputest.c index f68a3ec8f1..c374ddf5ec 100644 --- a/tests/cputest.c +++ b/tests/cputest.c @@ -700,7 +700,7 @@ mymain(void) } \ } while (0) #else -# define DO_TEST_CPUID_JSON(arch, host) +# define DO_TEST_CPUID_JSON(arch, host, json) #endif #define DO_TEST_CPUID(arch, host, json) \