diff --git a/boot/moremultiboot.h b/boot/moremultiboot.h index af17c386..d714d662 100644 --- a/boot/moremultiboot.h +++ b/boot/moremultiboot.h @@ -836,6 +836,8 @@ _try_module_again: print_("Error opening "); print_(*c); print_(" "); print_hex_(status); print_("\n"); while (1) { }; } + } else { + multiboot_header.mods_count--; } c++; }