From: Jelle van der Waa Date: Tue, 6 May 2025 11:11:40 +0000 (+0200) Subject: treewide: correct argument comments for show_boot_entry X-Git-Tag: v258-rc1~680^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c04b172f1846af4358a4ba5bc0d52a9c39067e3;p=thirdparty%2Fsystemd.git treewide: correct argument comments for show_boot_entry --- diff --git a/src/bootctl/bootctl-status.c b/src/bootctl/bootctl-status.c index 933791c36de..1dcb8694560 100644 --- a/src/bootctl/bootctl-status.c +++ b/src/bootctl/bootctl-status.c @@ -94,7 +94,7 @@ static int status_entries( boot_config_default_entry(config), /* show_as_default= */ false, /* show_as_selected= */ false, - /* show_discovered= */ false); + /* show_reported= */ false); if (r > 0) /* < 0 is already logged by the function itself, let's just emit an extra warning if the default entry is broken */ diff --git a/src/shared/bootspec.c b/src/shared/bootspec.c index a9cbd62fe44..467fce9d6b2 100644 --- a/src/shared/bootspec.c +++ b/src/shared/bootspec.c @@ -1999,7 +1999,7 @@ int show_boot_entries(const BootConfig *config, sd_json_format_flags_t json_form config->entries + n, /* show_as_default= */ n == (size_t) config->default_entry, /* show_as_selected= */ n == (size_t) config->selected_entry, - /* show_discovered= */ true); + /* show_reported= */ true); if (r < 0) return r;