Skip to content

Commit

Permalink
Update zimage.c
Browse files Browse the repository at this point in the history
  • Loading branch information
YuzukiTsuru authored Jan 11, 2024
1 parent 9699c5c commit 258ca2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/image/zimage.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ int zImage_loader(uint8_t *addr, uint32_t *entry) {

printk(LOG_LEVEL_INFO, "Linux zImage->code = 0x");
for (int i = 0; i < 9; i++) {
printk(LOG_LEVEL_MUTE, "%x", code[i]);
printk(LOG_LEVEL_MUTE, "%x", zimage_header->code[i]);
}

printk(LOG_LEVEL_MUTE, "\n");
Expand Down

0 comments on commit 258ca2e

Please sign in to comment.