X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=discover%2Fudev.c;h=cd2a61ef6813ba9ee6907b7ef026429b8e44f22e;hb=25a7c442028ed3d2d75a554cfa5da7b1ac4724bb;hp=c81183f742db260bd8310285b32677ca3e271860;hpb=c8be6d76e4d8e4aa39dd89ddf5a33287ca8f7350;p=petitboot diff --git a/discover/udev.c b/discover/udev.c index c81183f..cd2a61e 100644 --- a/discover/udev.c +++ b/discover/udev.c @@ -102,8 +102,6 @@ static int udev_handle_dev_action(struct udev_device *dev, const char *action) return -1; } - print_device_properties(dev); - /* Ignore non disk or partition, ram, loop. */ if (!(strstr(devtype, "disk") || strstr(devtype, "partition")) @@ -124,6 +122,8 @@ static int udev_handle_dev_action(struct udev_device *dev, const char *action) return 0; } + print_device_properties(dev); + event = talloc(NULL, struct event); event->type = EVENT_TYPE_UDEV;