From: Yu Watanabe Date: Sat, 23 Dec 2023 16:32:29 +0000 (+0900) Subject: systemctl: swap cached_id_map and cached_name_map at one more place X-Git-Tag: v256-rc1~1404 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=08ba85c71ee7860ac4608fa1a5985d06cf3a7d35;p=thirdparty%2Fsystemd.git systemctl: swap cached_id_map and cached_name_map at one more place Follow-up for 2962a508508564ec35f231bd4246846d6d057115. Fortunately, this does not change any behavior. Replaces #30601. Fixes CID#1532831. --- diff --git a/src/systemctl/systemctl-util.c b/src/systemctl/systemctl-util.c index 2498725d3f4..d3668dd12ee 100644 --- a/src/systemctl/systemctl-util.c +++ b/src/systemctl/systemctl-util.c @@ -480,8 +480,8 @@ int unit_find_paths( const char *unit_name, LookupPaths *lp, bool force_client_side, - Hashmap **cached_name_map, Hashmap **cached_id_map, + Hashmap **cached_name_map, char **ret_fragment_path, char ***ret_dropin_paths) {