Introduction
Introduction Statistics Contact Development Disclaimer Help
Forgot to add argv[0] to fprintf - farbfeld - suckless image format with conver…
git clone git://git.suckless.org/farbfeld
Log
Files
Refs
README
LICENSE
---
commit d17e95f980060bd61439f8658bd0719c26595a2b
parent ff5bbfae5214d8291c8eb93670233909ded5b722
Author: FRIGN <[email protected]>
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(-)
---
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;
}
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.