diff --git a/mkbootimg/mkbootimg.c b/mkbootimg/mkbootimg.c index 8fd9a3b27..edc510466 100644 --- a/mkbootimg/mkbootimg.c +++ b/mkbootimg/mkbootimg.c @@ -278,7 +278,7 @@ int main(int argc, char **argv) } if (get_id) { - print_id(sha, sizeof(hdr.id)); + print_id((uint8_t *) hdr.id, sizeof(hdr.id)); } return 0;