commit d17e95f980060bd61439f8658bd0719c26595a2b
parent ff5bbfae5214d8291c8eb93670233909ded5b722
Author: FRIGN <dev@frign.de>
Date: Wed, 6 Jan 2016 12:41:20 +0100
Forgot to add argv[0] to fprintf
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jpg2ff.c b/jpg2ff.c
@@ -88,7 +88,7 @@ main(int argc, char *argv[])
/* write data */
if (fwrite(ff_row, 1, ff_row_len, stdout) != ff_row_len) {
- fprintf(stderr, "%s: fwrite: ");
+ fprintf(stderr, "%s: fwrite: ", argv[0]);
perror(NULL);
goto cleanup;
}