diff options
author | Joe Thornber <thornber@redhat.com> | 2002-01-15 17:37:23 +0000 |
---|---|---|
committer | Joe Thornber <thornber@redhat.com> | 2002-01-15 17:37:23 +0000 |
commit | f2f2634990cfcd5c90279183d9106d5c8defb077 (patch) | |
tree | fed594c7ab9d88eafbad3e13da57842e383c1acb /tools/vgcfgbackup.c | |
parent | 6198a4102c5b171604b1ee82bd4a513be5506ab3 (diff) | |
download | lvm2-f2f2634990cfcd5c90279183d9106d5c8defb077.tar.gz |
o vgcfgrestore works ! (with the couple of examples I tried).
Diffstat (limited to 'tools/vgcfgbackup.c')
-rw-r--r-- | tools/vgcfgbackup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vgcfgbackup.c b/tools/vgcfgbackup.c index f6f450be0..d2ad04016 100644 --- a/tools/vgcfgbackup.c +++ b/tools/vgcfgbackup.c @@ -13,7 +13,7 @@ static int _backup_to_file(const char *file, struct volume_group *vg) int r; struct format_instance *tf; - if (!(tf = text_format_create(vg->cmd, file))) { + if (!(tf = text_format_create(vg->cmd, file, the_um))) { log_error("Couldn't create backup object."); return 0; } |