diff options
Diffstat (limited to 'tools/toollib.c')
-rw-r--r-- | tools/toollib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/toollib.c b/tools/toollib.c index eb0de5501..cc6e9f8b7 100644 --- a/tools/toollib.c +++ b/tools/toollib.c @@ -5420,7 +5420,7 @@ int pvcreate_each_device(struct cmd_context *cmd, * Check if all arg_devices were found by process_each_pv. */ dm_list_iterate_items(pd, &pp->arg_devices) - log_error("Device %s %s.", pd->name, dev_cache_filtered_reason(pd->name)); + log_error("Device %s: %s.", pd->name, devname_error_reason(pd->name)); /* * Can the command continue if some specified devices were not found? @@ -5545,7 +5545,7 @@ int pvcreate_each_device(struct cmd_context *cmd, handle, _pv_confirm_single); dm_list_iterate_items(pd, &pp->arg_confirm) - log_error("Device %s %s.", pd->name, dev_cache_filtered_reason(pd->name)); + log_error("Device %s: %s.", pd->name, devname_error_reason(pd->name)); /* Some devices were not found during the second check. */ if (!dm_list_empty(&pp->arg_confirm) && must_use_all) |