virt: Fix build error
authorMozejko, MarcinX <marcinx.mozejko@intel.com>
Mon, 27 Nov 2017 10:57:50 +0000 (10:57 +0000)
committerRadoslaw Jablonski <radoslawx.jablonski@intel.com>
Wed, 28 Feb 2018 15:26:23 +0000 (15:26 +0000)
Change-Id: I6b1111aded6391775a40911fdede288b3f0380d9
Signed-off-by: Mozejko, MarcinX <marcinx.mozejko@intel.com>
src/virt.c

index 1b70b22..7896b2e 100644 (file)
@@ -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);
   }