From b38a5801f90b936469f69214a2f4d8e4bb99814f Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 26 Feb 2009 22:59:40 +0100 Subject: [PATCH] udevadm: info - export all devices with --export-db --- udev/udevadm-info.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/udev/udevadm-info.c b/udev/udevadm-info.c index 094c6ce2..b9892eca 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); } } -- 2.39.5