diff options
author | Mike Yuan <me@yhndnzj.com> | 2024-03-02 09:38:17 +0100 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2024-03-06 19:01:57 +0100 |
commit | 7dfc71399d2286b37cd61975da196acfd29aca83 (patch) | |
tree | 2e56478b7950e61aa97e1813843b3011a3e8556a /src/ssh-generator | |
parent | resolved: decrease mdns/llmnr priority for the reverse mapping domains (diff) | |
download | systemd-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/ssh-generator')
-rw-r--r-- | src/ssh-generator/ssh-generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ssh-generator/ssh-generator.c b/src/ssh-generator/ssh-generator.c index 6fdd4ec27f..08532690a9 100644 --- a/src/ssh-generator/ssh-generator.c +++ b/src/ssh-generator/ssh-generator.c @@ -458,7 +458,7 @@ static int run(const char *dest, const char *dest_early, const char *dest_late) if (r < 0) return log_error_errno(r, "Failed to determine if sshd is installed: %m"); - _cleanup_(lookup_paths_free) LookupPaths lp = {}; + _cleanup_(lookup_paths_done) LookupPaths lp = {}; r = lookup_paths_init_or_warn(&lp, RUNTIME_SCOPE_SYSTEM, LOOKUP_PATHS_EXCLUDE_GENERATED, /* root_dir= */ NULL); if (r < 0) return r; |