Fix the chkconfig -l output to fit into 80 characters. Without this, every
service printed causes an empty line to be displayed, because after the last
character on each line, 3 more spaces are printed.

To use 3 spaces between columns, make it printf "%-24s", and replace the 2
spaces with 3 spaces in the other 4 places.

Volker Kuhlmann, 12 Oct 2003


--- /sbin/chkconfig.orig	2003-01-30 08:45:34.000000000 +1300
+++ /sbin/chkconfig	2003-10-12 17:02:26.000000000 +1300
@@ -665,13 +665,13 @@
       print STDERR "$s: unknown service\n" unless $known_all{$s};
       next;
     }
-    printf "%-25s ", $s;
+    printf "%-26s ", $s;
     my $l;
     for $l (0, 1, 2, 3, 4, 5, 6) {
       if ($usecolor) {
-	print $links{$l}->{$s} ? "\e[0;1;32m$l:on    \e[m" : "$l:off   ";
+	print $links{$l}->{$s} ? "\e[0;1;32m  $l:on \e[m" : "  $l:off";
       } else {
-	print $links{$l}->{$s} ? "$l:on    " : "$l:off   ";
+	print $links{$l}->{$s} ? "  $l:on " : "  $l:off";
       }
     }
     print getdeps_rc($s) if $printdeps;

