commit | 59e6cf86dadb25422d83cf8deb49f5fd19c2412a | [log] [tgz] |
---|---|---|
author | Andres Morales <anmorales@google.com> | Fri May 08 07:55:08 2015 -0700 |
committer | Andres Morales <anmorales@google.com> | Fri May 08 09:20:22 2015 -0700 |
tree | 9ec1ca0476b8a4720e013a3ca1b0bbe1171e4750 | |
parent | 800715d86d2add0a14c7cacfa0f06cb7e76bf19b [diff] |
pass in correct buffer to print_id hdr.id is actually larger than sha Change-Id: Iac33dbaaf4bea9acde5ba49d8601f7ac767677d5
diff --git a/mkbootimg/mkbootimg.c b/mkbootimg/mkbootimg.c index 1a6e4cd..40e5261 100644 --- a/mkbootimg/mkbootimg.c +++ b/mkbootimg/mkbootimg.c
@@ -283,7 +283,7 @@ } if (get_id) { - print_id(sha, sizeof(hdr.id)); + print_id((uint8_t *) hdr.id, sizeof(hdr.id)); } return 0;