mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 03:25:20 +00:00
include: nodedev: Fix a misleading comment about the used callback
Actually we use virConnectNodeDeviceEventGenericCallback. Signed-off-by: Chen Hanxiao <chenhanxiao@gmail.com> Signed-off-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
fed9cc85ea
commit
84359339c5
@ -142,7 +142,7 @@ int virNodeDeviceDestroy (virNodeDevicePtr dev);
|
||||
*/
|
||||
typedef enum {
|
||||
VIR_NODE_DEVICE_EVENT_ID_LIFECYCLE = 0, /* virConnectNodeDeviceEventLifecycleCallback */
|
||||
VIR_NODE_DEVICE_EVENT_ID_UPDATE = 1, /* virConnectNodeDeviceEventUpdateCallback */
|
||||
VIR_NODE_DEVICE_EVENT_ID_UPDATE = 1, /* virConnectNodeDeviceEventGenericCallback */
|
||||
|
||||
# ifdef VIR_ENUM_SENTINELS
|
||||
VIR_NODE_DEVICE_EVENT_ID_LAST
|
||||
|
Loading…
Reference in New Issue
Block a user