]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
machinectl: fix status output indentation
authorLennart Poettering <lennart@poettering.net>
Mon, 30 Jun 2025 21:12:36 +0000 (23:12 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 8 Jul 2025 04:40:35 +0000 (06:40 +0200)
All other status output lines use tabs, use that for the ID shift line
too. otherwise output will appear unaligned if log viewers have fixed
tab stop positions.

src/machine/machinectl.c

index 20fe2d1b0ffc8682dd8bf27c56629bd7c8b9f6f5..116d5ef74d94bd71befd7ad6cca06c4d26978e19 100644 (file)
@@ -484,7 +484,7 @@ static int print_uid_shift(sd_bus *bus, const char *name) {
         if (shift == 0) /* Don't show trivial mappings */
                 return 0;
 
-        printf("       UID Shift: %" PRIu32 "\n", shift);
+        printf("\tID Shift: %" PRIu32 "\n", shift);
         return 0;
 }