diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/base/trace.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/base/trace.cc b/src/base/trace.cc index 1a035d400..fa55e42a9 100644 --- a/src/base/trace.cc +++ b/src/base/trace.cc @@ -64,6 +64,8 @@ void setOutput(const string &filename) { dprintf_stream = simout.find(filename); + if (!dprintf_stream) + dprintf_stream = simout.create(filename); } ObjectMatch ignore; |