Fix compilation with -Werror=format-security.
This commit is contained in:
parent
0958621ad1
commit
23e51ef7a8
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue