summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-06-23 13:07:34 +0200
committerPali Rohár <pali.rohar@gmail.com>2012-06-23 13:07:34 +0200
commit8bc521f3e5e83fddc08a031aa7cf7499514ee732 (patch)
tree386753580f47d05c640e68b50b2120a2af48373e /src/main.c
parentb1cfc3181bc83b43e07f3b801166c8c8181cecf8 (diff)
download0xFFFF-8bc521f3e5e83fddc08a031aa7cf7499514ee732.tar.bz2
do_hash_file - align size for mmc images, append chars \xff (nokia flasher needs mmc images alingned)
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 6f37334..68f7ffb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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();