Skip to content

Commit 80c2137

Browse files
committed
multiboot2-header: Don't trip up on ModuleAlign
1 parent 18e34d9 commit 80c2137

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
@@ -397,6 +397,10 @@ impl Debug for Multiboot2HeaderTagIter {
397397
let entry = t as *const EntryEfi64HeaderTag;
398398
let entry = &*(entry);
399399
debug.entry(entry);
400+
} else if typ == HeaderTagType::ModuleAlign {
401+
let entry = t as *const ModuleAlignHeaderTag;
402+
let entry = &*(entry);
403+
debug.entry(entry);
400404
} else if typ == HeaderTagType::Relocatable {
401405
let entry = t as *const RelocatableHeaderTag;
402406
let entry = &*(entry);

0 commit comments

Comments
 (0)