Remove .c_str() from log_cmd_error() and log_file_error() parameters
This commit is contained in:
@@ -234,7 +234,7 @@ struct SynthMicrochipPass : public ScriptPass {
|
||||
if (family == "polarfire") {
|
||||
lut_size = 4;
|
||||
} else {
|
||||
log_cmd_error("Invalid Microchip -family setting: '%s'.\n", family.c_str());
|
||||
log_cmd_error("Invalid Microchip -family setting: '%s'.\n", family);
|
||||
}
|
||||
|
||||
if (!design->full_selection())
|
||||
|
||||
Reference in New Issue
Block a user