1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-05 13:18:20 +03:00

pvcreate: improve debug message

state what the printed UUID is.
This commit is contained in:
David Teigland 2016-05-04 12:11:13 -05:00
parent 1df6769aca
commit 7c1e601164

View File

@ -3818,8 +3818,8 @@ static int _pvcreate_check_single(struct cmd_context *cmd,
if (!found) if (!found)
return 1; return 1;
log_debug("Checking device %s for pvcreate %.32s.", log_debug("Checking pvcreate arg %s which has existing PVID: %.32s.",
pv_dev_name(pv), pv->dev->pvid[0] ? pv->dev->pvid : ""); pv_dev_name(pv), pv->dev->pvid[0] ? pv->dev->pvid : "<none>");
/* /*
* This test will fail if the device belongs to an MD array. * This test will fail if the device belongs to an MD array.