From 258ca2e047c3ef46e96ad1424f09e9178de11ca6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9F=9A=E6=9C=A8=20=E9=89=89?= Date: Thu, 11 Jan 2024 22:18:12 +0800 Subject: [PATCH] Update zimage.c --- src/image/zimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/image/zimage.c b/src/image/zimage.c index ff3357d7..2a1364c7 100644 --- a/src/image/zimage.c +++ b/src/image/zimage.c @@ -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");