Skip to content

Commit 70d92b2

Browse files
committed
multiboot2-header: Don't trip up on ModuleAlign
1 parent e56daa7 commit 70d92b2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

multiboot2-header/src/header.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,10 @@ impl Debug for Multiboot2HeaderTagIter {
393393
let entry = t as *const EntryEfi64HeaderTag;
394394
let entry = &*(entry);
395395
debug.entry(entry);
396+
} else if typ == HeaderTagType::ModuleAlign {
397+
let entry = t as *const ModuleAlignHeaderTag;
398+
let entry = &*(entry);
399+
debug.entry(entry);
396400
} else if typ == HeaderTagType::Relocatable {
397401
let entry = t as *const RelocatableHeaderTag;
398402
let entry = &*(entry);

0 commit comments

Comments
 (0)