Forgot to add argv[0] to fprintf - farbfeld - suckless image format with conversion tools
(HTM) git clone git://git.suckless.org/farbfeld
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit d17e95f980060bd61439f8658bd0719c26595a2b
(DIR) parent ff5bbfae5214d8291c8eb93670233909ded5b722
(HTM) Author: FRIGN <dev@frign.de>
Date: Wed, 6 Jan 2016 12:41:20 +0100
Forgot to add argv[0] to fprintf
Diffstat:
M jpg2ff.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) 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;
}