summaryrefslogtreecommitdiff
path: root/libudev/test-libudev.c
diff options
context:
space:
mode:
Diffstat (limited to 'libudev/test-libudev.c')
-rw-r--r--libudev/test-libudev.c1
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);