diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-06-09 20:02:32 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-06-09 20:31:17 +0200 |
commit | 856323c9cb0ef368367126588d0b43b4846ab0d7 (patch) | |
tree | 98b353da2ca8046a2bf3b1cbce750920caa2f94b /src/locale | |
parent | logs-show: print multiline messages (diff) | |
download | systemd-856323c9cb0ef368367126588d0b43b4846ab0d7.tar.xz systemd-856323c9cb0ef368367126588d0b43b4846ab0d7.zip |
systemctl: remove extra padding from status output
In 131601349 'systemctl: align all status fields to common column',
padding was calculated for 'ListenStream: ...', etc. Later on in
45a4f7233 'systemctl: tweak output of Listen: fields a bit' output
was changed to 'Listen: ... (stream)', but calculation didn't change.
Just remove the calculation, since now the result will be always 8,
and it it more important to have everything aligned to the widest
field ("Main-PID"), than to save a few columns, usually at most two
(e.g. "Listen").
Note: strlen is more natural, and is optimized to sizeof even
with -O0.
Diffstat (limited to 'src/locale')
0 files changed, 0 insertions, 0 deletions