mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
pvcreate: fix setting uuid arg
Commit 4de6caf5
("redefine pvcreate structs") left
out setting the "idp" pointer to the "id" arg.
This commit is contained in:
parent
79f2596215
commit
66e175702a
@ -49,6 +49,7 @@ static int pvcreate_restore_params_from_args(struct cmd_context *cmd, int argc,
|
||||
pp->uuid_str = arg_str_value(cmd, uuidstr_ARG, "");
|
||||
if (!id_read_format(&pp->pva.id, pp->uuid_str))
|
||||
return 0;
|
||||
pp->pva.idp = &pp->pva.id;
|
||||
}
|
||||
|
||||
if (arg_sign_value(cmd, physicalvolumesize_ARG, SIGN_NONE) == SIGN_MINUS) {
|
||||
|
Loading…
Reference in New Issue
Block a user