Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Commit 9c85844

Browse files
authored
Merge pull request #7 from HawkeyeMcFly/master
Update bin2c.c to fix Issue #6
2 parents 053859b + fabd95a commit 9c85844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ main(int argc, char *argv[])
8181

8282
f_output = fopen(argv[2], "w");
8383
if (f_output == NULL) {
84-
fprintf(stderr, "%s: can't open %s for writing\n", argv[0], argv[1]);
84+
fprintf(stderr, "%s: can't open %s for writing\n", argv[0], argv[2]);
8585
return -1;
8686
}
8787

0 commit comments

Comments
 (0)