From bc04bb0d29623669eac0b514987128016b0c8b47 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 6 May 2020 14:48:14 +0200 Subject: [PATCH] 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. --- src/systemctl/systemctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 5c32147f14..673f29bcaa 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();