summaryrefslogtreecommitdiffstats
path: root/discover/udev.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/udev.c')
-rw-r--r--discover/udev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/discover/udev.c b/discover/udev.c
index 309a749..d13ced7 100644
--- a/discover/udev.c
+++ b/discover/udev.c
@@ -126,6 +126,7 @@ static int udev_handle_dev_action(struct udev_device *dev, const char *action)
event->n_params = 0;
event->params = NULL;
event_set_param(event, "DEVNAME", devnode);
+ event_set_param(event, "type", devtype);
udev_setup_event_params(dev, event);
OpenPOWER on IntegriCloud