diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-17 13:54:14 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-10-17 13:54:14 +0200 |
commit | bdeab5c7fd0489feb241483140a81091cf2802c7 (patch) | |
tree | db30923e316c302bc9b1217a01665803434fa0af | |
parent | babcf3cb22af24725030ad795f2e41d024afced3 (diff) |
libudev: add sysnum to test program
-rw-r--r-- | udev/lib/test-libudev.c | 7 |
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); |