summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2016-05-04 12:11:13 -0500
committerDavid Teigland <teigland@redhat.com>2016-05-04 12:11:13 -0500
commit7c1e6011644abd00dac7f71baf330f69bd076381 (patch)
treee8ec4f51a4052ddc8f7e88f51d50a7e3842a994f
parent1df6769acabd99fe062ebac1c8290da1ef1020f7 (diff)
downloadlvm2-7c1e6011644abd00dac7f71baf330f69bd076381.tar.gz
pvcreate: improve debug message
state what the printed UUID is.
-rw-r--r--tools/toollib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/toollib.c b/tools/toollib.c
index c86900a99..f1fe5b19c 100644
--- a/tools/toollib.c
+++ b/tools/toollib.c
@@ -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.