summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndres Morales2015-05-08 09:55:08 -0500
committerAndres Morales2015-05-08 11:20:22 -0500
commita190ddf90f648a96997f187e074e56c76e163764 (patch)
tree9ec1ca0476b8a4720e013a3ca1b0bbe1171e4750 /mkbootimg
parentdff18174d2779d65815a5b03956a30c13dd8e71c (diff)
downloadplatform-system-core-a190ddf90f648a96997f187e074e56c76e163764.tar.gz
platform-system-core-a190ddf90f648a96997f187e074e56c76e163764.tar.xz
platform-system-core-a190ddf90f648a96997f187e074e56c76e163764.zip
pass in correct buffer to print_id
hdr.id is actually larger than sha Change-Id: Iac33dbaaf4bea9acde5ba49d8601f7ac767677d5
Diffstat (limited to 'mkbootimg')
-rw-r--r--mkbootimg/mkbootimg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkbootimg/mkbootimg.c b/mkbootimg/mkbootimg.c
index 1a6e4cd85..40e52610d 100644
--- a/mkbootimg/mkbootimg.c
+++ b/mkbootimg/mkbootimg.c
@@ -283,7 +283,7 @@ int main(int argc, char **argv)
283 } 283 }
284 284
285 if (get_id) { 285 if (get_id) {
286 print_id(sha, sizeof(hdr.id)); 286 print_id((uint8_t *) hdr.id, sizeof(hdr.id));
287 } 287 }
288 288
289 return 0; 289 return 0;