diff --git a/machxo2/pack.cc b/machxo2/pack.cc index b9cf6fe9..e31d5066 100644 --- a/machxo2/pack.cc +++ b/machxo2/pack.cc @@ -1163,7 +1163,7 @@ class MachXO2Packer } } if (!found) - log_error("Unsupported frequency '%s' on %s '%s'\n", freq.c_str(), ci->type == id_OSCH ? "OSCH" : "OSCJ", ci->name.c_str(ctx)); + log_error("Unsupported frequency '%s' on %s '%s'\n", freq.c_str(), ci->type.c_str(ctx), ci->name.c_str(ctx)); } } }