diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-03-08 05:58:02 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-03-22 07:27:06 +0100 |
commit | d8b50e5df7e01983279e70c6d970fb60d053df97 (patch) | |
tree | d3c41712a279e396dee5bd404d35c85033027f61 /src/libudev | |
parent | unit: make systemd-udev-trigger.service use --prioritized-subsystem (diff) | |
download | systemd-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.c | 2 |
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; |