summaryrefslogtreecommitdiff
path: root/udev/lib
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-17 13:54:14 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-10-17 13:54:14 +0200
commitbdeab5c7fd0489feb241483140a81091cf2802c7 (patch)
treedb30923e316c302bc9b1217a01665803434fa0af /udev/lib
parentbabcf3cb22af24725030ad795f2e41d024afced3 (diff)
libudev: add sysnum to test program
Diffstat (limited to 'udev/lib')
-rw-r--r--udev/lib/test-libudev.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/udev/lib/test-libudev.c b/udev/lib/test-libudev.c
index 65d84159ce..ded65cca91 100644
--- a/udev/lib/test-libudev.c
+++ b/udev/lib/test-libudev.c
@@ -53,6 +53,13 @@ static void print_device(struct udev_device *device)
str = udev_device_get_syspath(device);
printf("syspath: '%s'\n", str);
+ str = udev_device_get_sysname(device);
+ printf("sysname: '%s'\n", str);
+
+ str = udev_device_get_sysnum(device);
+ if (str != NULL)
+ printf("sysnum: '%s'\n", str);
+
str = udev_device_get_devpath(device);
printf("devpath: '%s'\n", str);