src/virt_test.c: Fix build error on ubuntu:trusty
authorAntoine Naud <antoinex.naud@intel.com>
Thu, 22 Mar 2018 09:48:09 +0000 (09:48 +0000)
committerRadoslaw Jablonski <radoslawx.jablonski@intel.com>
Thu, 19 Apr 2018 12:03:40 +0000 (13:03 +0100)
Change-Id: Ie7dce42f52709c95e1cc51c2236276755278a0ec
Signed-off-by: Antoine Naud <antoinex.naud@intel.com>
src/virt_test.c

index b21ac30..4c9ee1f 100644 (file)
@@ -60,7 +60,7 @@ static int teardown(void) {
 DEF_TEST(get_domain_state_notify) {
   if (setup() == 0) {
     nr_domains = virConnectListAllDomains(
-        conn, &domains, VIR_CONNECT_GET_ALL_DOMAINS_STATS_PERSISTENT);
+        conn, &domains, VIR_CONNECT_LIST_DOMAINS_PERSISTENT);
     if (nr_domains <= 0) {
       printf("ERROR: virConnectListAllDomains: nr_domains <= 0\n");
       return -1;