aboutsummaryrefslogtreecommitdiff
path: root/rpc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rpc.cpp')
-rw-r--r--rpc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc.cpp b/rpc.cpp
index f0c44e8b31..5c3e64a430 100644
--- a/rpc.cpp
+++ b/rpc.cpp
@@ -39,7 +39,7 @@ void PrintConsole(const char* format, ...)
#if defined(__WXMSW__) && wxUSE_GUI
MyMessageBox(buffer, "Bitcoin", wxOK | wxICON_EXCLAMATION);
#else
- fprintf(stdout, buffer);
+ fprintf(stdout, "%s", buffer);
#endif
}