From: Daan De Meyer Date: Tue, 2 Sep 2025 09:57:03 +0000 (+0200) Subject: install: Coding style fixlet X-Git-Tag: v258-rc4~15^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8e1e5814fae679ea1e85c9d4697089ab9156072;p=thirdparty%2Fsystemd.git install: Coding style fixlet --- diff --git a/src/shared/install.c b/src/shared/install.c index 3522af67eca..4ed6a0962a4 100644 --- a/src/shared/install.c +++ b/src/shared/install.c @@ -3283,7 +3283,7 @@ static int split_pattern_into_name_and_instances(const char *pattern, char **out return 0; } -static int presets_find_config(RuntimeScope scope, const char *root_dir, char ***files) { +static int presets_find_config(RuntimeScope scope, const char *root_dir, char ***ret) { static const char* const initrd_dirs[] = { CONF_PATHS("systemd/initrd-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 }; @@ -3304,7 +3304,7 @@ static int presets_find_config(RuntimeScope scope, const char *root_dir, char ** else assert_not_reached(); - return conf_files_list_strv(files, ".preset", root_dir, 0, dirs); + return conf_files_list_strv(ret, ".preset", root_dir, 0, dirs); } static int read_presets(RuntimeScope scope, const char *root_dir, UnitFilePresets *presets) {