From 455428f4448d945a1a57ec50ff90be28a7cd028e Mon Sep 17 00:00:00 2001 From: tth Date: Tue, 12 Apr 2022 14:49:00 +0200 Subject: [PATCH] cosmetic --- tools/mkfimg.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tools/mkfimg.c b/tools/mkfimg.c index b3f11ab..90f4828 100644 --- a/tools/mkfimg.c +++ b/tools/mkfimg.c @@ -23,6 +23,7 @@ int verbosity; #define T_TPAT0 6 #define T_MIRCOL1 7 #define T_BLOUP 8 +#define T_STRIPES 9 typedef struct { int code; char *name; @@ -38,6 +39,7 @@ Type types[] = { { T_TPAT0, "tpat0" }, { T_MIRCOL1, "mircol1" }, { T_BLOUP, "bloup" }, + { T_STRIPES, "stripes" }, { 0, NULL } }; @@ -54,7 +56,6 @@ for (type = types; type->code; type++) { return type->code; } } - return -1; } /* --------------------------------------------------------------------- */ @@ -87,7 +88,7 @@ puts("\n\t-v\tincrease verbosity"); if (verbosity) { fimg_print_version(1); - printf("*** compiled %s, %s\n", __DATE__, __TIME__); + printf("*** compiled on the %s, at %s\n", __DATE__, __TIME__); } exit(0); @@ -190,7 +191,7 @@ else { foo = fimg_dump_to_file(&fimg, fname, 0); } if (foo) { - fprintf(stderr, "dump fimg to %s -> %d\n", fname, foo); + fprintf(stderr, "dump fimg to %s error -> %d\n", fname, foo); exit(1); }