summaryrefslogtreecommitdiffstats
path: root/src/test
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/test
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/test')
-rw-r--r--src/test/test-cap-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-cap-list.c b/src/test/test-cap-list.c
index 68f0461a62..31c61b8d8d 100644
--- a/src/test/test-cap-list.c
+++ b/src/test/test-cap-list.c
@@ -57,7 +57,7 @@ static void test_capability_set_one(uint64_t c, const char *t) {
_cleanup_free_ char *t1 = NULL;
uint64_t c1, c_masked = c & all_capabilities();
- assert_se(capability_set_to_string_alloc(c, &t1) == 0);
+ assert_se(capability_set_to_string(c, &t1) == 0);
assert_se(streq(t1, t));
assert_se(capability_set_from_string(t1, &c1) == 0);