chiark / gitweb /
libudev: device - add devtype support
[elogind.git] / udev / lib / test-libudev.c
index 512062652075a818c83c45e3bc1c9de456b077d8..fd12bd9344ccbc9c0b576452aa4b0e1250a8a86b 100644 (file)
@@ -67,6 +67,10 @@ static void print_device(struct udev_device *device)
        if (str != NULL)
                printf("subsystem: '%s'\n", str);
 
+       str = udev_device_get_devtype(device);
+       if (str != NULL)
+               printf("devtype:   '%s'\n", str);
+
        str = udev_device_get_driver(device);
        if (str != NULL)
                printf("driver:    '%s'\n", str);