1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +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)
return 1;
log_debug("Checking device %s for pvcreate %.32s.",
pv_dev_name(pv), pv->dev->pvid[0] ? pv->dev->pvid : "");
log_debug("Checking pvcreate arg %s which has existing PVID: %.32s.",
pv_dev_name(pv), pv->dev->pvid[0] ? pv->dev->pvid : "<none>");
/*
* This test will fail if the device belongs to an MD array.