mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-26 20:55:19 +03:00
13 lines
447 B
Diff
13 lines
447 B
Diff
diff --git a/pform_package.cc b/pform_package.cc
|
|
index 856f8c1..3006ab5 100644
|
|
--- a/pform_package.cc
|
|
+++ b/pform_package.cc
|
|
@@ -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());
|
|
}
|
|
|
|
|