summaryrefslogtreecommitdiff
path: root/udev/lib/test-libudev.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-09-09 18:14:54 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-09-09 18:14:54 +0200
commit95d90c4fe0581d8b630c62e38591b3af960d131a (patch)
tree8f15713aa846bea364dd26351cc92f5c4f66ea31 /udev/lib/test-libudev.c
parent9b3a33a9ff9386b4af3229762fa7673e670b00e7 (diff)
libudev: udev_device - read "driver" value
Diffstat (limited to 'udev/lib/test-libudev.c')
-rw-r--r--udev/lib/test-libudev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/udev/lib/test-libudev.c b/udev/lib/test-libudev.c
index 835536af84..4fdef68881 100644
--- a/udev/lib/test-libudev.c
+++ b/udev/lib/test-libudev.c
@@ -58,6 +58,8 @@ static void print_device(struct udev_device *device)
printf("devpath: '%s'\n", str);
str = udev_device_get_subsystem(device);
printf("subsystem: '%s'\n", str);
+ str = udev_device_get_driver(device);
+ printf("driver: '%s'\n", str);
str = udev_device_get_syspath(device);
printf("syspath: '%s'\n", str);
str = udev_device_get_devname(device);