summaryrefslogtreecommitdiff
path: root/udev/udevadm-info.c
diff options
context:
space:
mode:
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;