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
@@ -84,7 +84,7 @@ void flash_image(const char *filename, const char *piece, const char *device, co
unsigned long long size, off;
unsigned char bsize[4], tmp;
unsigned char nolofiller[128];
ushort hash = do_hash_file(filename);
ushort hash = do_hash_file(filename, piece);
if (piece == NULL) {
//exit(1);