From: Kay Sievers Date: Thu, 26 Feb 2009 21:59:40 +0000 (+0100) Subject: udevadm: info - export all devices with --export-db X-Git-Tag: 174~1143 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b38a5801f90b936469f69214a2f4d8e4bb99814f;p=systemd udevadm: info - export all devices with --export-db --- 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); } }