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