diff options
author | Heinz Mauelshagen <heinzm@redhat.com> | 2002-01-30 15:04:48 +0000 |
---|---|---|
committer | Heinz Mauelshagen <heinzm@redhat.com> | 2002-01-30 15:04:48 +0000 |
commit | 08907484f56661bbee7e0e769e58b0cce3974427 (patch) | |
tree | c836e5daae959bc60a74222bb563214ce81c8be6 /tools/vgexport.c | |
parent | 851866d2fc6535fe17ed872c3dc32541129b7f38 (diff) | |
download | lvm2-08907484f56661bbee7e0e769e58b0cce3974427.tar.gz |
quotes around names in output
Diffstat (limited to 'tools/vgexport.c')
-rw-r--r-- | tools/vgexport.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/vgexport.c b/tools/vgexport.c index 2c55af95d..e74db3c8b 100644 --- a/tools/vgexport.c +++ b/tools/vgexport.c @@ -42,22 +42,22 @@ static int vgexport_single(const char *vg_name) struct volume_group *vg; if (!(vg = fid->ops->vg_read(fid, vg_name))) { - log_error("Unable to find volume group %s", vg_name); + log_error("Unable to find volume group \"%s\"", vg_name); return ECMD_FAILED; } if (vg->status & EXPORTED_VG) { - log_error("Volume group %s is already exported", vg_name); + log_error("Volume group \"%s\" is already exported", vg_name); return ECMD_FAILED; } if (!(vg->status & LVM_WRITE)) { - log_error("Volume group %s is read-only", vg_name); + log_error("Volume group \"%s\" is read-only", vg_name); return ECMD_FAILED; } if (lvs_in_vg_activated(vg)) { - log_error("Volume group %s has active logical volumes", + log_error("Volume group \"%s\" has active logical volumes", vg_name); return ECMD_FAILED; } @@ -72,7 +72,7 @@ static int vgexport_single(const char *vg_name) backup(vg); - log_print("Volume group %s successfully exported", vg->name); + log_print("Volume group \"%s\" successfully exported", vg->name); return 0; } |