From 05fb0c23443419b374d877d1c1035fc24ed7dda5 Mon Sep 17 00:00:00 2001 From: Antoine Naud Date: Wed, 14 Mar 2018 11:49:13 +0000 Subject: [PATCH] src/virt.c: Fix build error on ubuntu:trusty Change-Id: Ic76a5b9861360181c677b643245b24f40b80777b Signed-off-by: Antoine Naud --- src/virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/virt.c b/src/virt.c index 63180b8c..f39f9c26 100644 --- a/src/virt.c +++ b/src/virt.c @@ -1892,7 +1892,7 @@ static int persistent_domains_state_notification(void) { #ifdef HAVE_LIST_ALL_DOMAINS virDomainPtr *domains; n = virConnectListAllDomains(conn, &domains, - VIR_CONNECT_GET_ALL_DOMAINS_STATS_PERSISTENT); + VIR_CONNECT_LIST_DOMAINS_PERSISTENT); if (n < 0) { VIRT_ERROR(conn, "reading list of persistent domains"); status = -1; -- 2.11.0