Replace `RTLIL::id2cstr()` with `log_id()`.
authorAlberto Gonzalez <boqwxp@airmail.cc>
Mon, 30 Mar 2020 16:50:36 +0000 (16:50 +0000)
committerAlberto Gonzalez <boqwxp@airmail.cc>
Mon, 30 Mar 2020 16:50:36 +0000 (16:50 +0000)
Co-Authored-By: Eddie Hung <eddie@fpgeh.com>
passes/cmds/design.cc

index 6081b3ad7543ef27e7bb35c0dfc9f890c172f779..f807c0e588637972176baa86e22e609d0572b4b6 100644 (file)
@@ -200,7 +200,7 @@ struct DesignPass : public Pass {
                                        continue;
                                }
                                if (sel.selected_module(mod->name))
-                                       log_cmd_error("Module %s is only partly selected.\n", RTLIL::id2cstr(mod->name));
+                                       log_cmd_error("Module %s is only partly selected.\n", log_id(mod->name));
                        }
 
                        if (import_mode) {