summaryrefslogtreecommitdiff
path: root/src/systemctl
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2020-05-06 14:48:14 +0200
committerLennart Poettering <lennart@poettering.net>2020-05-06 15:40:15 +0200
commitbc04bb0d29623669eac0b514987128016b0c8b47 (patch)
treec8c56ea3d1da2247fab405cc8ac01e88988bed1f /src/systemctl
parent0773357ad1e3d9dbc10343137c0eccf402849d24 (diff)
downloadsystemd-bc04bb0d29623669eac0b514987128016b0c8b47.tar.gz
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.
Diffstat (limited to 'src/systemctl')
-rw-r--r--src/systemctl/systemctl.c2
1 files changed, 1 insertions, 1 deletions
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();