summaryrefslogtreecommitdiff
path: root/udev/udevadm-info.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-30 13:42:26 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-30 13:42:26 +0200
commitc97f839eed652c3e05eb71bc2ba5fbe40678e7b7 (patch)
tree3e12c6ec853720c92ddb470460dfa3cf1892776c /udev/udevadm-info.c
parent4aa0b15efbb44dbcbb0a4fa6e7bb45e70e1ec537 (diff)
libudev: enumerate - scan devices and subsystems, add subsystem and attribute filter
Diffstat (limited to 'udev/udevadm-info.c')
-rw-r--r--udev/udevadm-info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/udevadm-info.c b/udev/udevadm-info.c
index 624fb01eb4..c2ff0bbea3 100644
--- a/udev/udevadm-info.c
+++ b/udev/udevadm-info.c
@@ -190,7 +190,7 @@ static int export_devices(struct udev *udev)
udev_enumerate = udev_enumerate_new(udev);
if (udev_enumerate == NULL)
return -1;
- udev_enumerate_scan_devices(udev_enumerate, NULL);
+ udev_enumerate_scan_devices(udev_enumerate);
udev_list_entry_foreach(list_entry, udev_enumerate_get_list_entry(udev_enumerate)) {
struct udev_device *device;