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

lp.pool may be (null) too

This commit is contained in:
Alasdair Kergon 2012-02-01 01:54:20 +00:00
parent 8416129244
commit 49fd0fef6b

View File

@ -1017,7 +1017,8 @@ int lvcreate(struct cmd_context *cmd, int argc, char **argv)
if (lp.thin)
log_verbose("Making thin LV %s in pool %s in VG %s%s%s using segtype %s",
lp.lv_name ? : "with generated name",
lp.pool, lp.vg_name, lp.snapshot ? " as snapshot of " : "",
lp.pool ? : "with generated name", lp.vg_name,
lp.snapshot ? " as snapshot of " : "",
lp.snapshot ? lp.origin : "", lp.segtype->name);
if (!lv_create_single(vg, &lp)) {