summaryrefslogtreecommitdiff
path: root/jpg2ff.c
diff options
context:
space:
mode:
authorFRIGN <dev@frign.de>2016-01-06 12:41:20 +0100
committerFRIGN <dev@frign.de>2016-01-06 12:41:20 +0100
commitd17e95f980060bd61439f8658bd0719c26595a2b (patch)
treece399fcb75ce2218b787195d1de91759c16af980 /jpg2ff.c
parentff5bbfae5214d8291c8eb93670233909ded5b722 (diff)
Forgot to add argv[0] to fprintf
Diffstat (limited to 'jpg2ff.c')
-rw-r--r--jpg2ff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jpg2ff.c b/jpg2ff.c
index acf66b3..9ed9258 100644
--- 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;
}