fix build bug

This commit is contained in:
Lin 2024-08-29 10:29:26 +08:00
parent d30a20853a
commit 643e3a2dd1
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ int read_xml_unique_blocks(DeviceRRGSB& device_rr_gsb, const char* file_name,
} else {
archfpga_throw(loc_data.filename_c_str(),
loc_data.line(xml_block_info),
"Invalid block type '%s'\n", type);
"Invalid block type '%s'\n", type.c_str());
}
} else {
bad_tag(xml_block_info, loc_data, xml_root, {"block"});