Skip to content

Commit

Permalink
config_tables: Emit warning when finding a duplicate confige table en…
Browse files Browse the repository at this point in the history
…tries
  • Loading branch information
fruhland committed Oct 11, 2024
1 parent f6dd533 commit b982a60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions towboot/src/boot/config_tables.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ pub(super) fn parse_for_multiboot(info_builder: &mut InfoBuilder) {
// causing a panic in the multiboot crate.
// As a fix, we store all already handled GUIDs in a set, which we use to skip duplicates.
if handled_guids.contains(&table.guid) {
warn!("multiple configuration tables with guid {}", table.guid);
continue;
}

Expand Down

0 comments on commit b982a60

Please sign in to comment.