diff options
-rw-r--r-- | src/cpu/exetrace.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cpu/exetrace.cc b/src/cpu/exetrace.cc index aeb17078c..2af59eb2e 100644 --- a/src/cpu/exetrace.cc +++ b/src/cpu/exetrace.cc @@ -177,7 +177,8 @@ Trace::ExeTracerRecord::traceInst(const StaticInstPtr &inst, bool ran) outs << endl; Trace::getDebugLogger()->dprintf_flag( - when, thread->getCpuPtr()->name(), "ExecEnable", outs.str().c_str()); + when, thread->getCpuPtr()->name(), "ExecEnable", "%s", + outs.str().c_str()); } void |