From 95d90c4fe0581d8b630c62e38591b3af960d131a Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 9 Sep 2008 18:14:54 +0200 Subject: libudev: udev_device - read "driver" value --- udev/lib/test-libudev.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'udev/lib/test-libudev.c') 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); -- cgit v1.2.3-54-g00ecf