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 39330a74c6..0a0d754b38 100644
--- a/udev/lib/test-libudev.c
+++ b/udev/lib/test-libudev.c
@@ -64,7 +64,7 @@ static void print_device(struct udev_device *device)
printf("subsystem: '%s'\n", str);
str = udev_device_get_driver(device);
printf("driver: '%s'\n", str);
- str = udev_device_get_devname(device);
+ str = udev_device_get_devnode(device);
printf("devname: '%s'\n", str);
count = udev_device_get_devlinks(device, print_devlinks_cb, NULL);
printf("found %i links\n", count);