[hackers] [farbfeld] Forgot to add argv[0] to fprintf || FRIGN

From: <git_AT_suckless.org>
Date: Wed, 6 Jan 2016 12:41:44 +0100 (CET)

commit d17e95f980060bd61439f8658bd0719c26595a2b
Author: FRIGN <dev_AT_frign.de>
AuthorDate: Wed Jan 6 12:41:20 2016 +0100
Commit: FRIGN <dev_AT_frign.de>
CommitDate: Wed Jan 6 12:41:20 2016 +0100

    Forgot to add argv[0] to fprintf

diff --git a/jpg2ff.c b/jpg2ff.c
index acf66b3..9ed9258 100644
--- a/jpg2ff.c
+++ b/jpg2ff.c
_AT_@ -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;
                 }
Received on Wed Jan 06 2016 - 12:41:44 CET

This archive was generated by hypermail 2.3.0 : Wed Jan 06 2016 - 12:48:12 CET