diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-09-18 11:44:41 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-09-18 11:44:41 +0800 |
commit | bad9baa8794ed0c31b7f93b110815d98db7b2d7a (patch) | |
tree | 97bf348fcbfc56634873ce4613948a2369c9067e /discover/udev.c | |
parent | 7b793150f96a6fe6033ac1390a663b1b62be2df6 (diff) | |
download | talos-petitboot-bad9baa8794ed0c31b7f93b110815d98db7b2d7a.tar.gz talos-petitboot-bad9baa8794ed0c31b7f93b110815d98db7b2d7a.zip |
discover: populate udev device types
Now that we have device types, populate from the udev info.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/udev.c')
-rw-r--r-- | discover/udev.c | 1 |
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); |