summaryrefslogtreecommitdiff
path: root/udev/lib/test-libudev.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/lib/test-libudev.c')
-rw-r--r--udev/lib/test-libudev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/lib/test-libudev.c b/udev/lib/test-libudev.c
index 421d0511a1..19968a1738 100644
--- a/udev/lib/test-libudev.c
+++ b/udev/lib/test-libudev.c
@@ -150,7 +150,7 @@ static int test_enumerate(struct udev *udev, const char *subsystem)
enumerate = udev_enumerate_new_from_subsystems(udev, NULL);
if (enumerate == NULL)
return -1;
- list = udev_enumerate_get_devices_list(enumerate);
+ list = udev_enumerate_get_list(enumerate);
while (list != NULL) {
struct udev_device *device;