techmap: fix error message

This commit is contained in:
Eddie Hung 2020-04-09 14:31:59 -07:00
parent d8f2a1fda0
commit 843201ec96
1 changed files with 1 additions and 1 deletions

View File

@ -1282,7 +1282,7 @@ struct TechmapPass : public Pass {
if (fn.compare(0, 1, "%") == 0) {
if (!saved_designs.count(fn.substr(1))) {
delete map;
log_cmd_error("Can't saved design `%s'.\n", fn.c_str()+1);
log_cmd_error("Can't open saved design `%s'.\n", fn.c_str()+1);
}
for (auto mod : saved_designs.at(fn.substr(1))->modules())
if (!map->has(mod->name))