summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2013-06-17 15:34:01 -0700
committerStephen Dolan <mu@netsoc.tcd.ie>2013-06-17 15:34:01 -0700
commitb78a4cdc935f069a4a8864f3504fa77438998bfe (patch)
tree2e76828528d6d10bd3ab4a0f5de2a0f3c696e668
parentce17b6bd5370de8d9f1ce4c35e961799afe0cc5b (diff)
parentda09544bb0d9c4d44a84ecff0fbd607ff43c34da (diff)
Merge pull request #154 from nicowilliams/no-fopen-re
Remove accidentally introduced use of fopen "e"
-rw-r--r--jq_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/jq_test.c b/jq_test.c
index f0f77f56..f84cea9f 100644
--- a/jq_test.c
+++ b/jq_test.c
@@ -13,7 +13,7 @@ int jq_testsuite(int argc, char* argv[]) {
FILE *testdata = stdin;
jv_test();
if (argc > 2) {
- testdata = fopen(argv[2], "re");
+ testdata = fopen(argv[2], "r");
if (!testdata) {
perror("fopen");
exit(1);