diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2016-11-23 22:15:32 +0000 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2016-11-23 22:15:32 +0000 |
commit | 1199bd52dee21faf818b04d7738275fc5d80e684 (patch) | |
tree | 5679f087190505c2084726194fa50068a1599c73 | |
parent | 21a1fd3bf56e9ff46cc235c8fe048d5ab5acfce7 (diff) | |
download | hktool-1199bd52dee21faf818b04d7738275fc5d80e684.tar.gz hktool-1199bd52dee21faf818b04d7738275fc5d80e684.tar.xz hktool-1199bd52dee21faf818b04d7738275fc5d80e684.zip |
hktool.c: Cleanup debug
-rw-r--r-- | hktool.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -111,14 +111,10 @@ int main(int argc, char **argv) if (getparams(&fp, argv[optind]) != 0) return EXIT_FAILURE; - if (doflash) { - printf("flashing\n"); + if (doflash) if (flash(&fp, flashfile) != 0) return EXIT_FAILURE; - } - if (doreboot) { - printf("rebooting\n"); + if (doreboot) if (reboot(&fp) != 0) return EXIT_FAILURE; - } } |