]> err.no Git - systemd/commitdiff
udevadm: info - export all devices with --export-db
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 26 Feb 2009 21:59:40 +0000 (22:59 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 26 Feb 2009 21:59:40 +0000 (22:59 +0100)
udev/udevadm-info.c

index 094c6ce2a8da64e637758d8ecc0c26d4d57e56e9..b9892eca05bb1b33585c2e00a856e13128bfd082 100644 (file)
@@ -202,8 +202,7 @@ static int export_devices(struct udev *udev)
 
                device = udev_device_new_from_syspath(udev, udev_list_entry_get_name(list_entry));
                if (device != NULL) {
-                       if (udev_device_get_devnode(device) != NULL)
-                               print_record(device);
+                       print_record(device);
                        udev_device_unref(device);
                }
        }