From: Arne Schwabe Date: Sat, 2 Jun 2012 13:03:37 +0000 (+0200) Subject: Add the query to the error message. Makes the diagnose what went wrong from logs... X-Git-Tag: v2.3_alpha2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=803613de394a0b25374797d001d4a2cdea8b593e;p=thirdparty%2Fopenvpn.git Add the query to the error message. Makes the diagnose what went wrong from logs easier. Signed-off-by: Arne Schwabe Acked-by: David Sommerseth Message-Id: 1338642223-20324-3-git-send-email-arne@rfc2549.org URL: http://article.gmane.org/gmane.network.openvpn.devel/6645 Signed-off-by: David Sommerseth --- diff --git a/src/openvpn/console.c b/src/openvpn/console.c index 2464e7e16..afda8ca3d 100644 --- a/src/openvpn/console.c +++ b/src/openvpn/console.c @@ -232,7 +232,7 @@ get_console_input (const char *prompt, const bool echo, char *input, const int c } } #else - msg (M_FATAL, "Sorry, but I can't get console input on this OS"); + msg (M_FATAL, "Sorry, but I can't get console input on this OS (%s)", prompt); #endif return ret; }