multiboot2: Fix broken append_tag() invocation

This commit is contained in:
mintsuki 2021-09-13 04:56:00 +02:00
parent 4ad7081e6c
commit ae02de7902

View File

@ -304,7 +304,7 @@ void multiboot2_load(char *config, char* cmdline) {
tag->framebuffer_blue_field_position = fbinfo.blue_mask_shift; tag->framebuffer_blue_field_position = fbinfo.blue_mask_shift;
tag->framebuffer_blue_mask_size = fbinfo.blue_mask_size; tag->framebuffer_blue_mask_size = fbinfo.blue_mask_size;
append_tag(info_idx, tag->common); append_tag(info_idx, &tag->common);
} else { } else {
#if uefi == 1 #if uefi == 1
panic("multiboot2: cannot use text mode with UEFI"); panic("multiboot2: cannot use text mode with UEFI");