summaryrefslogtreecommitdiff
path: root/tools/vgcfgbackup.c
diff options
context:
space:
mode:
authorJoe Thornber <thornber@redhat.com>2002-01-15 17:37:23 +0000
committerJoe Thornber <thornber@redhat.com>2002-01-15 17:37:23 +0000
commitf2f2634990cfcd5c90279183d9106d5c8defb077 (patch)
treefed594c7ab9d88eafbad3e13da57842e383c1acb /tools/vgcfgbackup.c
parent6198a4102c5b171604b1ee82bd4a513be5506ab3 (diff)
downloadlvm2-f2f2634990cfcd5c90279183d9106d5c8defb077.tar.gz
o vgcfgrestore works ! (with the couple of examples I tried).
Diffstat (limited to 'tools/vgcfgbackup.c')
-rw-r--r--tools/vgcfgbackup.c2
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;
}