projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d24d9a3
)
systemctl: swap cached_id_map and cached_name_map at one more place
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sat, 23 Dec 2023 16:32:29 +0000
(
01:32
+0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sat, 23 Dec 2023 18:41:09 +0000
(
03:41
+0900)
Follow-up for
2962a508508564ec35f231bd4246846d6d057115
.
Fortunately, this does not change any behavior.
Replaces #30601.
Fixes CID#
1532831
.
src/systemctl/systemctl-util.c
patch
|
blob
|
history
diff --git
a/src/systemctl/systemctl-util.c
b/src/systemctl/systemctl-util.c
index 2498725d3f4e593f616729ffdae0283e984c5c15..d3668dd12ee9e95abe973106e5ccbb53b89f4c43 100644
(file)
--- 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) {