tree-wide: Fix declaration/definition parameter name mismatches

This commit is contained in:
Daan De Meyer
2025-11-26 19:02:31 +09:00
committed by Yu Watanabe
parent a8374a7607
commit 6a9f0641cd
227 changed files with 821 additions and 675 deletions
+3 -3
View File
@@ -435,21 +435,21 @@ int boot_config_load_type1(
const char *root,
const BootEntrySource source,
const char *dir,
const char *fname) {
const char *filename) {
int r;
assert(config);
assert(f);
assert(root);
assert(dir);
assert(fname);
assert(filename);
if (!GREEDY_REALLOC(config->entries, config->n_entries + 1))
return log_oom();
BootEntry *entry = config->entries + config->n_entries;
r = boot_entry_load_type1(f, root, source, dir, fname, entry);
r = boot_entry_load_type1(f, root, source, dir, filename, entry);
if (r < 0)
return r;
config->n_entries++;