cap-list: rename capability_set_to_string_alloc() → capability_set_to_string()

We typically don't use the _alloc() suffix anymore for anything, hence
drop it here too.
This commit is contained in:
Lennart Poettering
2023-02-20 16:13:49 +01:00
parent 0cd90cf4f3
commit 8142d73574
6 changed files with 9 additions and 10 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ static int bus_print_property(const char *name, const char *expected_value, sd_b
} else if (STR_IN_SET(name, "CapabilityBoundingSet", "AmbientCapabilities")) {
_cleanup_free_ char *s = NULL;
r = capability_set_to_string_alloc(u, &s);
r = capability_set_to_string(u, &s);
if (r < 0)
return r;