Merge branch 'steveicarus:master' into wmlye/assertion-issue823

This commit is contained in:
Bill Lye 2023-01-02 12:13:59 -08:00 committed by GitHub
commit 66f5db1fb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ void pform_end_package_declaration(const struct vlltype&loc)
ostringstream msg;
msg << "error: Package " << use_name << " was already declared here: "
<< test->second->get_fileline() << ends;
VLerror(loc, msg.str().c_str());
VLerror(loc, "%s", msg.str().c_str());
}