[boot] Fix panic handler not installing

The switch to util::bitset introduced a typo that caused panic handlers
to never load.
This commit is contained in:
Justin C. Miller
2024-04-23 23:46:31 -07:00
parent e725795a17
commit 4909d15c20

View File

@@ -105,7 +105,7 @@ load_resources(
if (!has_panic) { if (!has_panic) {
for (const descriptor &d : bc.panics()) { for (const descriptor &d : bc.panics()) {
if (d.flags.get(desc_flags::graphical)) { if (!d.flags.get(desc_flags::graphical)) {
panic = loader::load_file(disk, d.path); panic = loader::load_file(disk, d.path);
has_panic = true; has_panic = true;
break; break;