diff options
Diffstat (limited to 'src/systemc/core/sc_export.cc')
-rw-r--r-- | src/systemc/core/sc_export.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/systemc/core/sc_export.cc b/src/systemc/core/sc_export.cc index 252f8c0ff..0524ca8dc 100644 --- a/src/systemc/core/sc_export.cc +++ b/src/systemc/core/sc_export.cc @@ -58,17 +58,17 @@ sc_export_base::sc_export_base(const char *n) : sc_object(n) { if (sc_is_running()) { reportError("(E121) insert sc_export failed", "simulation running", - n, kind()); + name(), kind()); } if (::sc_gem5::scheduler.elaborationDone()) { reportError("(E121) insert sc_export failed", "elaboration done", - n, kind()); + name(), kind()); } ::sc_gem5::Module *m = ::sc_gem5::currentModule(); if (!m) { reportError("(E122) sc_export specified outside of module", - nullptr, n, kind()); + nullptr, name(), kind()); } else { m->exports.push_back(this); } |