From: Zbigniew Jędrzejewski-Szmek Date: Thu, 29 Nov 2018 11:50:22 +0000 (+0100) Subject: machinectl: fix printing of multiple addresses X-Git-Tag: v240~174^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3bfb1010b26ccb5beefd6986e655330747dbdf79;p=thirdparty%2Fsystemd.git machinectl: fix printing of multiple addresses We'd print everything jumbled together: $ machinectl --max-addresses=3 MACHINE CLASS SERVICE OS VERSION ADDRESSES rawhide container systemd-nspawn fedora 30 169.254.40.164fe80::94aa:3aff:fe7b:d4b9 --- diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index 898be80a227..b244e0499f7 100644 --- a/src/machine/machinectl.c +++ b/src/machine/machinectl.c @@ -331,7 +331,7 @@ static int list_machines(int argc, char *argv[], void *userdata) { name, 0, "", - "", + " ", arg_addrs, &addresses);