Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
src/conf/domain_event.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/conf/domain_event.c b/src/conf/domain_event.c
index c15f32a4e6..6e471d7ddb 100644
--- a/src/conf/domain_event.c
+++ b/src/conf/domain_event.c
@@ -1443,7 +1443,7 @@ virDomainEventDeviceRemovalFailedNew(int id,
if (virDomainEventsInitialize() < 0)
return NULL;
- if (!(ev = virDomainEventNew(virDomainEventDeviceAddedClass,
+ if (!(ev = virDomainEventNew(virDomainEventDeviceRemovalFailedClass,
VIR_DOMAIN_EVENT_ID_DEVICE_REMOVAL_FAILED,
id, name, uuid)))
return NULL;
--
2.12.2