diff options
author | Tomasz Kramkowski <tk@the-tk.com> | 2016-11-24 21:06:24 +0000 |
---|---|---|
committer | Tomasz Kramkowski <tk@the-tk.com> | 2016-11-24 21:06:24 +0000 |
commit | c4c3178f2bc2b85b1d3af928f3e841bd6eb43e35 (patch) | |
tree | a5895b416896b3076796fa1a9ed66f0d897cdfc7 /hktool.c | |
parent | 4b56f68e9876be3c42b93be1600cfe6d96ca1530 (diff) | |
download | hktool-c4c3178f2bc2b85b1d3af928f3e841bd6eb43e35.tar.gz hktool-c4c3178f2bc2b85b1d3af928f3e841bd6eb43e35.tar.xz hktool-c4c3178f2bc2b85b1d3af928f3e841bd6eb43e35.zip |
eprintf utilities
Diffstat (limited to 'hktool.c')
-rw-r--r-- | hktool.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -25,6 +25,7 @@ #include "halfkay.h" #include "log.h" +#include "eprintf.h" #include "params.h" #ifndef VERSION @@ -67,6 +68,7 @@ int main(int argc, char **argv) struct flashparams fp; argv0 = argv[0] != NULL ? argv[0] : "hktool"; + setprogname(argv0); while (opt = getopt(argc, argv, "f:h-lvr"), opt != -1) { switch (opt) { |