summaryrefslogtreecommitdiff
path: root/tools/vgimport.c
diff options
context:
space:
mode:
authorHeinz Mauelshagen <heinzm@redhat.com>2002-01-30 15:04:48 +0000
committerHeinz Mauelshagen <heinzm@redhat.com>2002-01-30 15:04:48 +0000
commit08907484f56661bbee7e0e769e58b0cce3974427 (patch)
treec836e5daae959bc60a74222bb563214ce81c8be6 /tools/vgimport.c
parent851866d2fc6535fe17ed872c3dc32541129b7f38 (diff)
downloadlvm2-08907484f56661bbee7e0e769e58b0cce3974427.tar.gz
quotes around names in output
Diffstat (limited to 'tools/vgimport.c')
-rw-r--r--tools/vgimport.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/vgimport.c b/tools/vgimport.c
index 73dc24801..9163eda7e 100644
--- a/tools/vgimport.c
+++ b/tools/vgimport.c
@@ -42,17 +42,18 @@ static int vgimport_single(const char *vg_name)
struct volume_group *vg;
if (!(vg = fid->ops->vg_read(fid, vg_name))) {
- log_error("Unable to find exported volume group %s", vg_name);
+ log_error("Unable to find exported volume group \"%s\"",
+ vg_name);
return ECMD_FAILED;
}
if (!(vg->status & EXPORTED_VG)) {
- log_error("Volume group %s is not exported", vg_name);
+ log_error("Volume group \"%s\" is not exported", vg_name);
return ECMD_FAILED;
}
if (vg->status & PARTIAL_VG) {
- log_error("Volume group %s is partially missing", vg_name);
+ log_error("Volume group \"%s\" is partially missing", vg_name);
return ECMD_FAILED;
}
@@ -66,7 +67,7 @@ static int vgimport_single(const char *vg_name)
backup(vg);
- log_print("Volume group %s successfully imported", vg->name);
+ log_print("Volume group \"%s\" successfully imported", vg->name);
return 0;
}