From 08ba85c71ee7860ac4608fa1a5985d06cf3a7d35 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sun, 24 Dec 2023 01:32:29 +0900 Subject: [PATCH] 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. --- src/systemctl/systemctl-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.47.3