]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
id128: change table header from "uuid" to just "id"
authorLennart Poettering <lennart@poettering.net>
Wed, 29 Jan 2020 13:13:03 +0000 (14:13 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 29 Jan 2020 14:32:26 +0000 (15:32 +0100)
The tool deals with any kind of 128bit id, not just uuid, and by default
we display just a series of hex chars, hence let's not claim everything
was a "uuid", but just generically say "id"

src/id128/id128.c

index de74bac2c07c242e8c908cf184234085f3a38cf0..19435f80fea40726960b69848872e6dff57741fa 100644 (file)
@@ -87,7 +87,7 @@ static int show_one(Table **table, const char *name, sd_id128_t uuid, bool first
 
         } else {
                 if (!*table) {
-                        *table = table_new("name", "uuid");
+                        *table = table_new("name", "id");
                         if (!*table)
                                 return log_oom();
                         table_set_width(*table, 0);