summaryrefslogtreecommitdiffstats
path: root/src/shared/install.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-12-14 10:52:34 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2024-03-07 18:47:50 +0100
commit76d75d8b7b6b19fa1709471ff17e56daf2cb4d04 (patch)
tree2b161674f08aad64cb60789759e2de17113f3191 /src/shared/install.c
parentvarious: use modern strv helpers (diff)
downloadsystemd-76d75d8b7b6b19fa1709471ff17e56daf2cb4d04.tar.xz
systemd-76d75d8b7b6b19fa1709471ff17e56daf2cb4d04.zip
constants: drop duplicated CONF_PATHS defines
Follow-up for b0d3095fd6cc1791a38f57a1982116b4475244ba.
Diffstat (limited to 'src/shared/install.c')
-rw-r--r--src/shared/install.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/install.c b/src/shared/install.c
index fabf5db7ed..7191f846a9 100644
--- a/src/shared/install.c
+++ b/src/shared/install.c
@@ -3218,8 +3218,8 @@ static int split_pattern_into_name_and_instances(const char *pattern, char **out
}
static int presets_find_config(RuntimeScope scope, const char *root_dir, char ***files) {
- static const char* const system_dirs[] = {CONF_PATHS("systemd/system-preset"), NULL};
- static const char* const user_dirs[] = {CONF_PATHS_USR("systemd/user-preset"), NULL};
+ static const char* const system_dirs[] = { CONF_PATHS("systemd/system-preset"), NULL };
+ static const char* const user_dirs[] = { CONF_PATHS("systemd/user-preset"), NULL };
const char* const* dirs;
assert(scope >= 0);