diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-08-20 10:54:49 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-08-20 11:09:48 +0200 |
commit | 85b55869bc1065754fdd35ef43ff324cc5e3ef2e (patch) | |
tree | 013fe377acb8a8617c700af9b14fa3be95acb06c /src/busctl | |
parent | sd-id128: add compound literal love to sd_id128_to_string() + id128_to_uuid_s... (diff) | |
download | systemd-85b55869bc1065754fdd35ef43ff324cc5e3ef2e.tar.xz systemd-85b55869bc1065754fdd35ef43ff324cc5e3ef2e.zip |
tree-wide: port everything over to new sd-id128 compund literal bliss
Diffstat (limited to 'src/busctl')
-rw-r--r-- | src/busctl/busctl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/busctl/busctl.c b/src/busctl/busctl.c index b9d84c9e58..fb91fb41b6 100644 --- a/src/busctl/busctl.c +++ b/src/busctl/busctl.c @@ -339,9 +339,7 @@ static int list_bus_names(int argc, char **argv, void *userdata) { if (r < 0) log_debug_errno(r, "Failed to acquire credentials of service %s, ignoring: %m", k); else { - char m[SD_ID128_STRING_MAX]; - - r = table_add_cell(table, NULL, TABLE_STRING, sd_id128_to_string(mid, m)); + r = table_add_cell(table, NULL, TABLE_ID128, &mid); if (r < 0) return table_log_add_error(r); |