diff --git a/tools/fimg2png.c b/tools/fimg2png.c index b546c1e2..a51b57e9 100644 --- a/tools/fimg2png.c +++ b/tools/fimg2png.c @@ -28,7 +28,8 @@ if (foo) { } if (verbosity) { - fprintf(stderr, "image '%s' is %d x %d %s\n", + fprintf(stderr, "%s: image '%s' is %d x %d %s\n", + __func__, srcname, infos[0], infos[1], fimg_str_type(infos[2])); } @@ -45,7 +46,8 @@ if (grisaille) { foo = fimg_save_as_png(&fimg, dstname, 0); if (foo) { - fprintf(stderr, "saving as png '%s' -> %d\n", dstname, foo); + fprintf(stderr, "%s: saving as png '%s' -> %d\n", __func__, + dstname, foo); return -1; }