diff options
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) |