conf: create new RemovalFailed event using correct class

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Pavel Hrdina 2017-04-07 14:00:22 +02:00
parent d58c146a4f
commit be193c4dc6
1 changed files with 1 additions and 1 deletions

View File

@ -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;