summaryrefslogtreecommitdiffstats
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-02-20 11:33:48 +0100
committerLennart Poettering <lennart@poettering.net>2023-02-20 16:13:49 +0100
commit8142d73574b4743081e096bf15bee65e8214b656 (patch)
treeb57b47b136d6cf72d5847c9b9c3e1620a7d03e97 /src/shared
parentMerge pull request #26437 from DaanDeMeyer/repart-exclude (diff)
downloadsystemd-8142d73574b4743081e096bf15bee65e8214b656.tar.xz
systemd-8142d73574b4743081e096bf15bee65e8214b656.zip
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.
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/bus-print-properties.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/bus-print-properties.c b/src/shared/bus-print-properties.c
index 9369866fa1..db41ad2495 100644
--- a/src/shared/bus-print-properties.c
+++ b/src/shared/bus-print-properties.c
@@ -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;