pass in correct buffer to print_id

hdr.id is actually larger than sha

Change-Id: Iac33dbaaf4bea9acde5ba49d8601f7ac767677d5
This commit is contained in:
Andres Morales 2015-05-08 07:55:08 -07:00
parent 5147eacad1
commit e892a3f328
1 changed files with 1 additions and 1 deletions

View File

@ -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;