diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c index 716111939c406b3da8d38ae018c86150fd81eec0..c161a561987a256ff4462e1c2ba3c0de9196ff82 100644 --- a/src/remote/remote_driver.c +++ b/src/remote/remote_driver.c @@ -5130,7 +5130,7 @@ remoteDomainBuildEventCallbackDeviceRemovalFailed(virNetClientProgramPtr prog AT void *evdata, void *opaque) { virConnectPtr conn = opaque; - remote_domain_event_callback_device_added_msg *msg = evdata; + remote_domain_event_callback_device_removal_failed_msg *msg = evdata; struct private_data *priv = conn->privateData; virDomainPtr dom; virObjectEventPtr event = NULL;