summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_benchmark.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eina/eina_benchmark.c')
-rw-r--r--src/lib/eina/eina_benchmark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eina/eina_benchmark.c b/src/lib/eina/eina_benchmark.c
index d018a0ae0d..0159ddc565 100644
--- a/src/lib/eina/eina_benchmark.c
+++ b/src/lib/eina/eina_benchmark.c
@@ -239,7 +239,7 @@ eina_benchmark_run(Eina_Benchmark *bench)
bench->name,
bench->run);
- main_script = fopen(buffer, "w");
+ main_script = fopen(buffer, "wb");
if (!main_script)
return NULL;
@@ -293,7 +293,7 @@ eina_benchmark_run(Eina_Benchmark *bench)
bench->run,
run->name);
- current_data = fopen(buffer, "w");
+ current_data = fopen(buffer, "wb");
if (!current_data)
continue;