chiark / gitweb /
libudev: udev_device_get_devname -> udev_device_get_devnode
[elogind.git] / udev / lib / test-libudev.c
index 39330a74c6cbbe036370008b01db80ec598556c3..0a0d754b38e34441453256efeb5f6e8d7271e730 100644 (file)
@@ -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);