From: Antoine Naud Date: Wed, 14 Mar 2018 11:49:13 +0000 (+0000) Subject: src/virt.c: Fix build error on ubuntu:trusty X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=05fb0c23443419b374d877d1c1035fc24ed7dda5;p=collectd.git src/virt.c: Fix build error on ubuntu:trusty Change-Id: Ic76a5b9861360181c677b643245b24f40b80777b Signed-off-by: Antoine Naud --- 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;