diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2017-05-22 17:01:47 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2017-05-23 13:34:35 +0100 |
commit | 8d6359867cb6bbed1edbd1de475caaa72c8427ab (patch) | |
tree | 2c73387059d69aeadd5557917c31874909acd7f0 /hktool.c | |
parent | e2b122f129b969633ba4ca1ca15b21ee13db7f19 (diff) | |
download | hktool-8d6359867cb6bbed1edbd1de475caaa72c8427ab.tar.gz hktool-8d6359867cb6bbed1edbd1de475caaa72c8427ab.tar.xz hktool-8d6359867cb6bbed1edbd1de475caaa72c8427ab.zip |
wip
Diffstat (limited to 'hktool.c')
-rw-r--r-- | hktool.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -81,7 +81,7 @@ int main(int argc, char **argv) return EXIT_SUCCESS; break; case 'l': - listparams(); + getparams(NULL, NULL); return EXIT_SUCCESS; break; case 'v': @@ -109,8 +109,8 @@ int main(int argc, char **argv) if (argc - optind > 1) eprintf("Invalid number of arguments\nUsage: %s %s", argv[0], usage); - if (getparams(&fp, argv[optind]) != 0) - return EXIT_FAILURE; + if (getparams(&fp, argv[optind]) == false) + eprintf("Could not find flash parameters for '%s'", argv[optind]); if (doflash) if (flash(&fp, flashfile) != 0) |