From 053d89570fde0a8298375f5d83c1a2f7bb056ae8 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 26 May 2023 13:13:41 +0200 Subject: [PATCH] Use type name directly --- machxo2/pack.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } } }