diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-01 18:52:22 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-09-01 18:52:22 +0200 |
commit | 11d543c1ee886ef30c3ef66d7176149d0b126fa5 (patch) | |
tree | 7416f487b3f1035e7ea8e4d583d0271fd6f14b84 /udev/lib/test-libudev.c | |
parent | b98fd8400542472bd0989a4f03358d403fb71f35 (diff) |
libudev: add udev_device_get_syspath()
Diffstat (limited to 'udev/lib/test-libudev.c')
-rw-r--r-- | udev/lib/test-libudev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/udev/lib/test-libudev.c b/udev/lib/test-libudev.c index 3c38600192..d0095f15fc 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_syspath(device); + printf("syspath: '%s'\n", str); str = udev_device_get_devname(device); printf("devname: '%s'\n", str); count = udev_device_get_devlinks(device, print_devlinks_cb, NULL); |