diff options
Diffstat (limited to 'retrace')
-rw-r--r-- | retrace/retrace_main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/retrace/retrace_main.cpp b/retrace/retrace_main.cpp index 3e2f9ee2..7b9268f8 100644 --- a/retrace/retrace_main.cpp +++ b/retrace/retrace_main.cpp @@ -735,6 +735,7 @@ int main(int argc, char **argv) if (strcasecmp(optarg, "json") == 0) { stateWriterFactory = &createJSONStateWriter; } else if (strcasecmp(optarg, "ubjson") == 0) { + os::setBinaryMode(stdout); stateWriterFactory = &createUBJSONStateWriter; } else { std::cerr << "error: unsupported dump format `" << optarg << "`\n"; |