diff options
-rw-r--r-- | src/nspawn/nspawn-network.c | 2 | ||||
-rw-r--r-- | src/shared/udev-util.c | 4 | ||||
-rw-r--r-- | src/udev/udevadm-wait.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/nspawn/nspawn-network.c b/src/nspawn/nspawn-network.c index 94e751cf65..e89f087aea 100644 --- a/src/nspawn/nspawn-network.c +++ b/src/nspawn/nspawn-network.c @@ -487,7 +487,7 @@ static int test_network_interface_initialized(const char *name) { if (r < 0) return log_error_errno(r, "Failed to get device %s: %m", name); - r = sd_device_get_is_initialized(d); + r = device_is_processed(d); if (r < 0) return log_error_errno(r, "Failed to determine whether interface %s is initialized: %m", name); if (r == 0) diff --git a/src/shared/udev-util.c b/src/shared/udev-util.c index 1934694035..15996ca724 100644 --- a/src/shared/udev-util.c +++ b/src/shared/udev-util.c @@ -139,7 +139,7 @@ static int device_wait_for_initialization_internal( } if (device) { - if (sd_device_get_is_initialized(device) > 0) { + if (device_is_processed(device) > 0) { if (ret) *ret = sd_device_ref(device); return 0; @@ -202,7 +202,7 @@ static int device_wait_for_initialization_internal( if (r < 0 && !ERRNO_IS_DEVICE_ABSENT(r)) return log_error_errno(r, "Failed to create sd-device object from %s: %m", devlink); } - if (device && sd_device_get_is_initialized(device) > 0) { + if (device && device_is_processed(device) > 0) { if (ret) *ret = sd_device_ref(device); return 0; diff --git a/src/udev/udevadm-wait.c b/src/udev/udevadm-wait.c index e6620c25dd..6ffc86bbf1 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; } |