This commit is contained in:
tTh 2023-10-09 03:13:50 +02:00
parent 2c407e5dd9
commit c1b6f9ae40
1 changed files with 1 additions and 7 deletions

View File

@ -128,7 +128,7 @@ for (foo=0; foo<argc; foo++)
#endif
if (type < 0) {
fprintf(stderr, "type '%s' is unknow\n", tname);
fprintf(stderr, "%s: type '%s' is unknow\n", argv[0], tname);
exit(2);
}
@ -153,12 +153,6 @@ switch (nbargs) {
fname = argv[optind];
if (verbosity>1) {
fprintf(stderr, "*** mkfimg *** %s %s *** pid %ld\n",
__DATE__, __TIME__, (long)getpid());
fimg_print_version(0);
}
if (verbosity) fprintf(stderr, "::: %s is making '%s' %dx%d, type %d\n",
argv[0], fname, width, height, type);