summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-11-29 11:55:18 +0100
committerClifford Wolf <clifford@clifford.at>2013-11-29 11:55:18 +0100
commit1b3a60976d0f74791277515cfad20dc7e37e1b9a (patch)
treed2c986988e36f21602c0ff4f8f01427cade6f9c4 /kernel
parented441346ca315c50ede4a5c15670f14585f7d7f5 (diff)
Using RTLIL::id2cstr for prompt printing
Diffstat (limited to 'kernel')
-rw-r--r--kernel/driver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/driver.cc b/kernel/driver.cc
index 83374c4b..6aa54bfb 100644
--- a/kernel/driver.cc
+++ b/kernel/driver.cc
@@ -209,7 +209,7 @@ static const char *create_prompt(RTLIL::Design *design, int recursion_counter)
str += stringf("(%d) ", recursion_counter);
str += "yosys";
if (!design->selected_active_module.empty())
- str += stringf(" [%s]", design->selected_active_module.c_str());
+ str += stringf(" [%s]", RTLIL::id2cstr(design->selected_active_module));
if (!design->selection_stack.back().full_selection) {
if (design->selected_active_module.empty())
str += "*";