struct dm_task *dmt;
int r = 0;
- log_verbose("Resuming %s (%" PRIu32 ":%" PRIu32 ")", name, major, minor);
+ log_verbose("Resuming %s (" FMTu32 ":" FMTu32 ").", name, major, minor);
if (!(dmt = dm_task_create(DM_DEVICE_RESUME))) {
log_debug_activation("Suspend dm_task creation failed for %s.", name);
/* When retry is not allowed, error */
if (!child->dtree->retry_remove) {
- log_error("Unable to deactivate open %s (%" PRIu32
- ":%" PRIu32 ")", name, info.major, info.minor);
+ log_error("Unable to deactivate open %s (" FMTu32 ":"
+ FMTu32 ").", name, info.major, info.minor);
r = 0;
continue;
}
uuid_prefix, uuid_prefix_len))) {
/* Only report error from (likely non-internal) dependency at top level */
if (!level) {
- log_error("Unable to deactivate open %s (%" PRIu32
- ":%" PRIu32 ")", name, info.major,
- info.minor);
+ log_error("Unable to deactivate open %s (" FMTu32 ":"
+ FMTu32 ").", name, info.major, info.minor);
r = 0;
}
continue;
if (!_deactivate_node(name, info.major, info.minor,
&child->dtree->cookie, child->udev_flags,
(level == 0) ? child->dtree->retry_remove : 0)) {
- log_error("Unable to deactivate %s (%" PRIu32
- ":%" PRIu32 ")", name, info.major,
- info.minor);
+ log_error("Unable to deactivate %s (" FMTu32 ":"
+ FMTu32 ").", name, info.major, info.minor);
r = 0;
continue;
}
if (!_suspend_node(name, info.major, info.minor,
child->dtree->skip_lockfs,
child->dtree->no_flush, &newinfo)) {
- log_error("Unable to suspend %s (%" PRIu32
- ":%" PRIu32 ")", name, info.major,
- info.minor);
+ log_error("Unable to suspend %s (" FMTu32 ":"
+ FMTu32 ")", name, info.major, info.minor);
r = 0;
continue;
}