summaryrefslogtreecommitdiffstats
path: root/src/libudev
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-03-08 05:58:02 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-03-22 07:27:06 +0100
commitd8b50e5df7e01983279e70c6d970fb60d053df97 (patch)
treed3c41712a279e396dee5bd404d35c85033027f61 /src/libudev
parentunit: make systemd-udev-trigger.service use --prioritized-subsystem (diff)
downloadsystemd-d8b50e5df7e01983279e70c6d970fb60d053df97.tar.xz
systemd-d8b50e5df7e01983279e70c6d970fb60d053df97.zip
sd-device-enumerator: support to list only initialized or uninitialized devices
Diffstat (limited to 'src/libudev')
-rw-r--r--src/libudev/libudev-enumerate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/libudev-enumerate.c b/src/libudev/libudev-enumerate.c
index 2dc695bd03..d71a31c566 100644
--- a/src/libudev/libudev-enumerate.c
+++ b/src/libudev/libudev-enumerate.c
@@ -365,7 +365,7 @@ _public_ int udev_enumerate_add_match_is_initialized(struct udev_enumerate *udev
assert_return(udev_enumerate, -EINVAL);
- r = device_enumerator_add_match_is_initialized(udev_enumerate->enumerator);
+ r = device_enumerator_add_match_is_initialized(udev_enumerate->enumerator, MATCH_INITIALIZED_COMPAT);
if (r < 0)
return r;