mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 11:41:36 +08:00
16 lines
487 B
Diff
16 lines
487 B
Diff
diff --git a/src/lasmessage.cpp b/src/lasmessage.cpp
|
|
index c39d13a..a1e2d0d 100644
|
|
--- a/src/lasmessage.cpp
|
|
+++ b/src/lasmessage.cpp
|
|
@@ -139,8 +139,8 @@ void las_default_message_handler(LAS_MESSAGE_TYPE type, const char* msg, void* u
|
|
if (!prefix.empty())
|
|
{
|
|
format_message(message, (unsigned)prefix.size());
|
|
- fprintf(stderr, prefix.c_str());
|
|
- fprintf(stderr, message.c_str());
|
|
+ fprintf(stderr, "%s", prefix.c_str());
|
|
+ fprintf(stderr, "%s", message.c_str());
|
|
}
|
|
else
|
|
{
|