From: Lennart Poettering Date: Wed, 6 May 2020 12:48:14 +0000 (+0200) Subject: systemctl: change column name in "list-sockets" out from "units" to "unit" X-Git-Tag: v246-rc1~429^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bc04bb0d29623669eac0b514987128016b0c8b47;p=thirdparty%2Fsystemd.git 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. --- diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 5c32147f14c..673f29bcaa3 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -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();