From: Michal Schmidt Date: Tue, 8 Jul 2014 13:17:36 +0000 (+0200) Subject: systemctl: fix visual alignment for lines prefixed with color dots X-Git-Tag: v216~702 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=b7bbdabeb4a5b66fdbcdfed0d097109cfb39c43e systemctl: fix visual alignment for lines prefixed with color dots --- diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 1ab4794bd..96a0d0578 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -456,7 +456,7 @@ static int output_units_list(const UnitInfo *unit_infos, unsigned c) { } if (circle_len > 0) - printf("%s%s%s", on_circle, circle ? draw_special_char(DRAW_BLACK_CIRCLE) : " ", off_circle); + printf("%s%s%s ", on_circle, circle ? draw_special_char(DRAW_BLACK_CIRCLE) : " ", off_circle); printf("%s%-*s%s %s%-*s%s %s%-*s %-*s%s %-*s", on_active, id_len, id, off_active,