summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}
}