summaryrefslogtreecommitdiffstats
path: root/src/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash.c')
-rw-r--r--src/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash.c b/src/flash.c
index d1d7efd..3ad957f 100644
--- a/src/flash.c
+++ b/src/flash.c
@@ -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);