diff --git a/cmdutils.c b/cmdutils.c
index a77e6e67b8a709191174bd30b4fb2f147ac31a99..295d10798a29ac2930f664f22706de473c54927d 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -378,7 +378,7 @@ static int warned_cfg = 0;
         const char *indent = flags & INDENT? "  " : "";                 \
         if (flags & SHOW_VERSION) {                                     \
             unsigned int version = libname##_version();                 \
-            fprintf(outstream, "%slib%-10s %2d.%2d.%2d / %2d.%2d.%2d\n", \
+            fprintf(outstream, "%slib%-9s %2d.%3d.%2d / %2d.%3d.%2d\n", \
                     indent, #libname,                                   \
                     LIB##LIBNAME##_VERSION_MAJOR,                       \
                     LIB##LIBNAME##_VERSION_MINOR,                       \