do_hash_file - align size for mmc images, append chars \xff (nokia flasher needs mmc images alingned)

This commit is contained in:
Pali Rohár committed 2012-06-23 13:07:34 +02:00
1 parent b1cfc3181b
commit 8bc521f3e5
4 files changed
+18 -4

No files matched your search

+1 -1
View File
@@ -291,7 +291,7 @@ int main(int argc, char **argv)
while((c = getopt(argc, argv, "QC:cp:PvVhRu:ib:U:r:e:ld:I:D:f:F:s:xH:S:n")) != -1) {
switch(c) {
case 'H':
printf("xorpair: %04x\n", do_hash_file(optarg));
printf("xorpair: %04x\n", do_hash_file(optarg, NULL));
return 0;
case 'x':
return dump_config();