Remove accidentally introduced use of fopen "e"
This commit is contained in:
1 parent
ce17b6bd53
commit
da09544bb0
1 file changed
+1
-1
@@ -13,7 +13,7 @@ int jq_testsuite(int argc, char* argv[]) {
|
|||||||
FILE *testdata = stdin;
|
FILE *testdata = stdin;
|
||||||
jv_test();
|
jv_test();
|
||||||
if (argc > 2) {
|
if (argc > 2) {
|
||||||
testdata = fopen(argv[2], "re");
|
testdata = fopen(argv[2], "r");
|
||||||
if (!testdata) {
|
if (!testdata) {
|
||||||
perror("fopen");
|
perror("fopen");
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|||||||
Reference in new issue
Block a user