[PATCH 1/2] virsh: Format -V output properly

Michal Privoznik mprivozn at redhat.com
Thu Nov 24 12:10:17 UTC 2022


When displaying long version (virsh -V), the 'Virtuozzo Storage'
substring lacks leading space and thus produces awful output.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 tools/virsh.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/virsh.c b/tools/virsh.c
index 5696941550..ad11f4a9ac 100644
--- a/tools/virsh.c
+++ b/tools/virsh.c
@@ -586,7 +586,7 @@ virshShowVersion(vshControl *ctl G_GNUC_UNUSED)
     vshPrint(ctl, " ZFS");
 #endif
 #ifdef WITH_STORAGE_VSTORAGE
-    vshPrint(ctl, "Virtuozzo Storage");
+    vshPrint(ctl, " Virtuozzo Storage");
 #endif
     vshPrint(ctl, "\n");
 
-- 
2.37.4



More information about the libvir-list mailing list