summaryrefslogtreecommitdiff
path: root/sapi/servlet/servlet.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/servlet/servlet.c')
-rw-r--r--sapi/servlet/servlet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/servlet/servlet.c b/sapi/servlet/servlet.c
index 6635f64085..e82a4dd1b1 100644
--- a/sapi/servlet/servlet.c
+++ b/sapi/servlet/servlet.c
@@ -109,7 +109,7 @@ void ThrowServletException (JNIEnv *jenv, char *msg) {
static int sapi_servlet_ub_write(const char *str, uint str_length TSRMLS_DC)
{
if (!SG(server_context)) {
- fprintf(stderr, str);
+ fprintf(stderr, "%s", str);
return 0;
}