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 4fdef68881..1e9469d1c5 100644
--- a/udev/lib/test-libudev.c
+++ b/udev/lib/test-libudev.c
@@ -98,7 +98,7 @@ static int test_enumerate(struct udev *udev, const char *subsystem)
{
int count;
- count = udev_devices_enumerate(udev, subsystem, devices_enum_cb, NULL);
+ count = udev_enumerate_devices(udev, subsystem, devices_enum_cb, NULL);
printf("found %i devices\n\n", count);
return count;
}