diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2010-12-14 14:18:32 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2010-12-14 14:18:32 +0100 |
commit | 48a0170b111b55e961be769d2cc4890511bcd991 (patch) | |
tree | 45cc479d03b844d778217523e30dd962daf04076 /libudev/test-libudev.c | |
parent | ff0e1f4e5d897a0ddbf365e920c0e28a6657abaa (diff) |
libudev: enumerate - allow to filter-out not-already-initialized devices
Diffstat (limited to 'libudev/test-libudev.c')
-rw-r--r-- | libudev/test-libudev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libudev/test-libudev.c b/libudev/test-libudev.c index 3eb34494df..f8eb8e5d5a 100644 --- a/libudev/test-libudev.c +++ b/libudev/test-libudev.c @@ -354,6 +354,7 @@ static int test_enumerate(struct udev *udev, const char *subsystem) if (udev_enumerate == NULL) return -1; udev_enumerate_add_match_subsystem(udev_enumerate,"block"); + udev_enumerate_add_match_is_initialized(udev_enumerate); udev_enumerate_scan_devices(udev_enumerate); test_enumerate_print_list(udev_enumerate); udev_enumerate_unref(udev_enumerate); |