systemctl: swap cached_id_map and cached_name_map at one more place

Follow-up for 2962a50850.
Fortunately, this does not change any behavior.

Replaces #30601.
Fixes CID#1532831.
This commit is contained in:
Yu Watanabe
2023-12-24 01:32:29 +09:00
parent d24d9a3786
commit 08ba85c71e

View File

@@ -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) {