aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 143585b..32c3a68 100644
--- a/main.cpp
+++ b/main.cpp
@@ -478,7 +478,7 @@ int main(int argc, char ** argv) {
std::string buffer;
if (!params.input_prefix.empty()) {
buffer += params.input_prefix;
- printf(buffer.c_str());
+ printf("%s", buffer.c_str());
}
std::string line;