pass in correct buffer to print_id
hdr.id is actually larger than sha Change-Id: Iac33dbaaf4bea9acde5ba49d8601f7ac767677d5
This commit is contained in:
parent
5147eacad1
commit
e892a3f328
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue