systemctl: change column name in "list-sockets" out from "units" to "unit"

All our other tables call the field in singular, hence let's do so here,
too.
This commit is contained in:
Lennart Poettering
2020-05-06 15:40:15 +02:00
parent 0773357ad1
commit bc04bb0d29
+1 -1
View File
@@ -1008,7 +1008,7 @@ static int output_sockets_list(struct socket_info *socket_infos, unsigned cs) {
const char *on, *off;
int r;
table = table_new("listen", "type", "units", "activates");
table = table_new("listen", "type", "unit", "activates");
if (!table)
return log_oom();