]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
systemctl: change column name in "list-sockets" out from "units" to "unit"
authorLennart Poettering <lennart@poettering.net>
Wed, 6 May 2020 12:48:14 +0000 (14:48 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 6 May 2020 13:40:15 +0000 (15:40 +0200)
All our other tables call the field in singular, hence let's do so here,
too.

src/systemctl/systemctl.c

index 5c32147f14cc7198248c801b72ffeb1754c65dbd..673f29bcaa3c2f2e7ce380e08b16ecb697078a68 100644 (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();