diff options
Diffstat (limited to 'trace/simple.c')
-rw-r--r-- | trace/simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trace/simple.c b/trace/simple.c index 885764a031..b639dda806 100644 --- a/trace/simple.c +++ b/trace/simple.c @@ -234,7 +234,7 @@ void st_set_trace_file_enabled(bool enable) .x1 = HEADER_VERSION, }; - trace_fp = fopen(trace_file_name, "w"); + trace_fp = fopen(trace_file_name, "wb"); if (!trace_fp) { return; } |