summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-02-26 22:59:40 +0100
committerKay Sievers <kay.sievers@vrfy.org>2009-02-26 22:59:40 +0100
commitb38a5801f90b936469f69214a2f4d8e4bb99814f (patch)
tree16abba77edcfa50f13b956b2598dd07e320309e3 /udev
parent5afd777ebb6c797aaf7fe8b6c3b9eab62521abd7 (diff)
udevadm: info - export all devices with --export-db
Diffstat (limited to 'udev')
-rw-r--r--udev/udevadm-info.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/udev/udevadm-info.c b/udev/udevadm-info.c
index 094c6ce2a8..b9892eca05 100644
--- a/udev/udevadm-info.c
+++ b/udev/udevadm-info.c
@@ -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);
}
}