diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-05-08 20:21:59 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-05-09 08:35:46 +0800 |
commit | 25a7c442028ed3d2d75a554cfa5da7b1ac4724bb (patch) | |
tree | 51b6b0cdc5e63b3196011531c18caa88005c6a07 /discover | |
parent | bb19338a08bd4449c38d596e66b92028c5855b0d (diff) | |
download | talos-petitboot-25a7c442028ed3d2d75a554cfa5da7b1ac4724bb.tar.gz talos-petitboot-25a7c442028ed3d2d75a554cfa5da7b1ac4724bb.zip |
discover/udev: Don't print properties of skipped devices
This cleans up the log output a little.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover')
-rw-r--r-- | discover/udev.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |