From: Mozejko, MarcinX Date: Mon, 27 Nov 2017 10:57:50 +0000 (+0000) Subject: virt: Fix build error X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=7325774e210ab695351723e56a32dd3679af2032;p=collectd.git virt: Fix build error Change-Id: I6b1111aded6391775a40911fdede288b3f0380d9 Signed-off-by: Mozejko, MarcinX --- diff --git a/src/virt.c b/src/virt.c index 1b70b22e..7896b2e5 100644 --- a/src/virt.c +++ b/src/virt.c @@ -1929,7 +1929,7 @@ static int persistent_domains_state_notification(void) { } /* virDomainGetState is not available. Submit 0, which corresponds to * unknown reason. */ - domain_state_submit_notif(domain->ptr, info.di.state, 0); + domain_state_submit_notif(dom, info.state, 0); } sfree(domids); }