summaryrefslogtreecommitdiffstats
path: root/src/systemctl/systemctl-edit.c
diff options
context:
space:
mode:
authorMike Yuan <me@yhndnzj.com>2024-03-02 09:38:17 +0100
committerMike Yuan <me@yhndnzj.com>2024-03-06 19:01:57 +0100
commit7dfc71399d2286b37cd61975da196acfd29aca83 (patch)
tree2e56478b7950e61aa97e1813843b3011a3e8556a /src/systemctl/systemctl-edit.c
parentresolved: decrease mdns/llmnr priority for the reverse mapping domains (diff)
downloadsystemd-7dfc71399d2286b37cd61975da196acfd29aca83.tar.xz
systemd-7dfc71399d2286b37cd61975da196acfd29aca83.zip
path-lookup: rename lookup_paths_free -> _done
This is stack-allocated, so update to match our usual rules.
Diffstat (limited to 'src/systemctl/systemctl-edit.c')
-rw-r--r--src/systemctl/systemctl-edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemctl/systemctl-edit.c b/src/systemctl/systemctl-edit.c
index c851c8546e..15398f8364 100644
--- a/src/systemctl/systemctl-edit.c
+++ b/src/systemctl/systemctl-edit.c
@@ -15,7 +15,7 @@
int verb_cat(int argc, char *argv[], void *userdata) {
_cleanup_hashmap_free_ Hashmap *cached_id_map = NULL, *cached_name_map = NULL;
- _cleanup_(lookup_paths_free) LookupPaths lp = {};
+ _cleanup_(lookup_paths_done) LookupPaths lp = {};
_cleanup_strv_free_ char **names = NULL;
sd_bus *bus;
bool first = true;
@@ -198,7 +198,7 @@ static int find_paths_to_edit(
char **names) {
_cleanup_hashmap_free_ Hashmap *cached_id_map = NULL, *cached_name_map = NULL;
- _cleanup_(lookup_paths_free) LookupPaths lp = {};
+ _cleanup_(lookup_paths_done) LookupPaths lp = {};
_cleanup_free_ char *drop_in_alloc = NULL, *suffix = NULL;
const char *drop_in;
int r;