diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2009-04-26 08:12:12 +0000 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2009-04-26 08:12:12 +0000 |
commit | 7833b01291cc30a0187fdb17d4069644c3fc904f (patch) | |
tree | 1703450fc074e1bf4e5e28ca9b82ff4265599087 /tools/lvcreate.c | |
parent | 87f42fda5eddb8c8fed00bb51ac4ec6619232b3e (diff) | |
download | lvm2-7833b01291cc30a0187fdb17d4069644c3fc904f.tar.gz lvm2-7833b01291cc30a0187fdb17d4069644c3fc904f.tar.xz lvm2-7833b01291cc30a0187fdb17d4069644c3fc904f.zip |
Fix wrong arg in lv_is_virtual_origin call while creating snapshots.
Diffstat (limited to 'tools/lvcreate.c')
-rw-r--r-- | tools/lvcreate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lvcreate.c b/tools/lvcreate.c index 8975470a..3a338291 100644 --- a/tools/lvcreate.c +++ b/tools/lvcreate.c @@ -725,7 +725,7 @@ static int _lvcreate(struct cmd_context *cmd, struct volume_group *vg, lp->origin); return 0; } - if (lv_is_virtual_origin(lv)) { + if (lv_is_virtual_origin(org)) { log_error("Can't share virtual origins. " "Use --virtualoriginsize."); return 0; |