3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

client: update known-networks to use display_table_row

This commit is contained in:
James Prestwood 2022-07-07 10:55:07 -07:00 committed by Denis Kenzior
parent 89a86d0975
commit 5bf1410ac4

View File

@ -210,9 +210,9 @@ static void known_network_display_inline(const char *margin, const void *data)
l_strdup(format_iso8601(network->last_connected,
"%b %e, %l:%M %p"));
display("%s%-*s%-*s%-*s%-*s\n",
margin, 32, network->name, 11, network->type,
9, get_hidden_tostr(network), 19, last_connected ? : "-");
display_table_row(margin, 4, 32, network->name, 11, network->type,
9, get_hidden_tostr(network),
19, last_connected ? : "-");
l_free(last_connected);
}