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
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-11-29 12:50:22 +01:00
parent 4527a83bc7
commit 3bfb1010b2
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ static int list_machines(int argc, char *argv[], void *userdata) {
name,
0,
"",
"",
" ",
arg_addrs,
&addresses);