mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
remote: fix struct for device removal failed event
The handler for the device removal failed event was using the struct for the device added event. Fortunately the layout was the same, so this was harmless. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
c50070173d
commit
89283c138e
@ -5130,7 +5130,7 @@ remoteDomainBuildEventCallbackDeviceRemovalFailed(virNetClientProgramPtr prog AT
|
|||||||
void *evdata, void *opaque)
|
void *evdata, void *opaque)
|
||||||
{
|
{
|
||||||
virConnectPtr conn = 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;
|
struct private_data *priv = conn->privateData;
|
||||||
virDomainPtr dom;
|
virDomainPtr dom;
|
||||||
virObjectEventPtr event = NULL;
|
virObjectEventPtr event = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user