summaryrefslogtreecommitdiffstats
path: root/src/udev/udevadm-wait.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/udev/udevadm-wait.c')
-rw-r--r--src/udev/udevadm-wait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevadm-wait.c b/src/udev/udevadm-wait.c
index e6620c2..6ffc86b 100644
--- a/src/udev/udevadm-wait.c
+++ b/src/udev/udevadm-wait.c
@@ -67,7 +67,7 @@ static int check_device(const char *path) {
return r;
if (arg_wait_until == WAIT_UNTIL_INITIALIZED)
- return sd_device_get_is_initialized(dev);
+ return device_is_processed(dev);
return true;
}