Skip to content

Commit 3b2e8f8

Browse files
committed
multiboot.c: fix debug string to output correct information
1 parent d762fd8 commit 3b2e8f8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/multiboot.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,8 @@ int mb2_build_boot_info_header(uint8_t *mb2_boot_info,
285285
return r;
286286
break;
287287
default:
288-
wolfBoot_printf("mb2: unsupported info request tag: %d\r\n", i);
288+
wolfBoot_printf("mb2: unsupported info request tag: %d\r\n",
289+
info_req_tag->mbi_tag_types[i]);
289290
return -1;
290291
}
291292
}

0 commit comments

Comments
 (0)