1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Fix fields in warning message.

This commit is contained in:
Alasdair Kergon 2011-06-13 03:53:02 +00:00
parent 1840aa0974
commit 98a0fa72be

View File

@ -2062,11 +2062,11 @@ int dm_task_run(struct dm_task *dmt)
dmt->type == DM_DEVICE_RELOAD)
log_error("Performing unsafe table load while %d device(s) "
"are known to be suspended: "
"%s%s %s %s%.0d%s%.0d%s%s",
"%s%s%s %s%.0d%s%.0d%s%s",
suspended_counter,
dmt->new_uuid ? "UUID " : "",
dmi->name,
dmi->uuid,
dmt->dev_name ? : "",
dmt->uuid ? " UUID " : "",
dmt->uuid ? : "",
dmt->major > 0 ? "(" : "",
dmt->major > 0 ? dmt->major : 0,
dmt->major > 0 ? ":" : "",