From a81d218fc886f5501fcbaa0ef0eb41b332e11205 Mon Sep 17 00:00:00 2001 From: tth Date: Wed, 24 Jun 2020 12:37:02 +0200 Subject: [PATCH] more useles messages --- tools/essai.sh | 7 ++++--- tools/fimgfx.c | 2 ++ tools/mkfimg.c | 3 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/tools/essai.sh b/tools/essai.sh index caf981f4..3599b3a5 100755 --- a/tools/essai.sh +++ b/tools/essai.sh @@ -19,14 +19,15 @@ echo "=== " $0 " ===" # ----------------------------------------------------- function essai_drand48 { -./mkfimg -v -t drand48 $TMPF 800 600 +./mkfimg -vv -t drand48 $TMPF 800 600 ./fimgstats -vv $TMPF } # ----------------------------------------------------- function essai_cmixa { -./mkfimg -v -t tpat0 $TMPF 800 600 -./fimgfx -v cmixa $TMPF bar.fimg +./mkfimg -vv -t tpat0 $TMPF 800 600 +./fimgfx -vv cmixa $TMPF bar.fimg + } # ----------------------------------------------------- diff --git a/tools/fimgfx.c b/tools/fimgfx.c index 3345fa1b..b6e84520 100644 --- a/tools/fimgfx.c +++ b/tools/fimgfx.c @@ -210,6 +210,8 @@ if (3 > argc-optind) { exit(1); } +if (verbosity>1) fprintf(stderr, "*** fimgfx *** %s %s\n", __DATE__, __TIME__); + operator = argv[optind]; action = lookup_fxidx(operator); if (action < 0) { diff --git a/tools/mkfimg.c b/tools/mkfimg.c index 6c36b4fb..33efde54 100644 --- a/tools/mkfimg.c +++ b/tools/mkfimg.c @@ -111,8 +111,9 @@ if (type < 0) { fname = argv[optind]; width = atoi(argv[optind+1]); height = atoi(argv[optind+2]); +if (verbosity>1) fprintf(stderr, "*** mkfimg *** %s %s\n", __DATE__, __TIME__); if (verbosity) fprintf(stderr, "making '%s' %d x %d, type %d\n", - fname, width, height, type); + fname, width, height, type); srand48(getpid() ^ time(NULL));