summaryrefslogtreecommitdiff
path: root/udev/lib/test-libudev.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-02 04:14:47 +0100
committerKay Sievers <kay.sievers@vrfy.org>2009-01-02 04:37:04 +0100
commitbf8b2ae177fd016d03349b3aa881b72afd7d037d (patch)
tree49af2ac35cfe782a80dc953ad9f815e73339b655 /udev/lib/test-libudev.c
parent01acecef8f763907e5535b074e32ce836b236fca (diff)
libudev: device - add devtype support
Diffstat (limited to 'udev/lib/test-libudev.c')
-rw-r--r--udev/lib/test-libudev.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/udev/lib/test-libudev.c b/udev/lib/test-libudev.c
index 5120626520..fd12bd9344 100644
--- a/udev/lib/test-libudev.c
+++ b/udev/lib/test-libudev.c
@@ -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);