summaryrefslogtreecommitdiffstats
path: root/client/application.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/application.cpp')
-rw-r--r--client/application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/application.cpp b/client/application.cpp
index 43fe7fa7..d9da67f5 100644
--- a/client/application.cpp
+++ b/client/application.cpp
@@ -2359,7 +2359,7 @@ bool Application::process_cmd_line(int argc, char** argv, bool &full_screen)
case SPICE_OPT_VERSION: {
std::ostringstream os;
os << argv[0] << " "<< PACKAGE_VERSION << std::endl;
- Platform::term_printf(os.str().c_str());
+ Platform::term_printf("%s", os.str().c_str());
return false;
}
case SPICE_OPT_HOST: