diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-26 17:01:00 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-26 19:21:58 +0100 |
commit | 6389e747d5b09b18e00d85b9b13c1be2ff884015 (patch) | |
tree | 24c43a27ea16fedb34a09154cf6133eef914bb64 /src/machine | |
parent | e6bd041c973c1f4074c3268b23c380ede0d64f19 (diff) |
machinectl: left-align times
Diffstat (limited to 'src/machine')
-rw-r--r-- | src/machine/machinectl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index 1cc5dfc68e..64caf7c378 100644 --- a/src/machine/machinectl.c +++ b/src/machine/machinectl.c @@ -221,7 +221,7 @@ static int list_images(int argc, char *argv[], void *userdata) { qsort_safe(images, n_images, sizeof(ImageInfo), compare_image_info); if (arg_legend) - printf("%-*s %-*s %-3s %*s %*s\n", + printf("%-*s %-*s %-3s %-*s %-*s\n", (int) max_name, "NAME", (int) max_type, "TYPE", "RO", @@ -231,7 +231,7 @@ static int list_images(int argc, char *argv[], void *userdata) { for (j = 0; j < n_images; j++) { char crtime_buf[FORMAT_TIMESTAMP_MAX], mtime_buf[FORMAT_TIMESTAMP_MAX]; - printf("%-*s %-*s %-3s %*s %*s\n", + printf("%-*s %-*s %-3s %-*s %-*s\n", (int) max_name, images[j].name, (int) max_type, images[j].type, yes_no(images[j].read_only), |