From 2a5d204baaa84207e835af570d89b10a17083fae Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sun, 7 Feb 2016 23:15:54 -0800 Subject: [PATCH] Don't capitalize "Error" and print the error value --- vnc/vnc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vnc/vnc.c b/vnc/vnc.c index 66b0f228..2e16ed21 100644 --- a/vnc/vnc.c +++ b/vnc/vnc.c @@ -1099,7 +1099,8 @@ lib_mod_connect(struct vnc *v) if (error != 0) { - log_message(LOG_LEVEL_DEBUG, "VNC Error after security negotiation"); + log_message(LOG_LEVEL_DEBUG, "VNC error %d after security negotiation", + error); } if (error == 0 && check_sec_result)