diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-06-02 15:03:37 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2012-06-07 14:00:31 +0200 |
commit | 803613de394a0b25374797d001d4a2cdea8b593e (patch) | |
tree | fdaa2d7b68b08b8d49bef094e15c654e824c402a | |
parent | 9eb058556d3e550e9b811a3ddc30be66635d4221 (diff) | |
download | openvpn-803613de394a0b25374797d001d4a2cdea8b593e.tar.gz openvpn-803613de394a0b25374797d001d4a2cdea8b593e.tar.xz openvpn-803613de394a0b25374797d001d4a2cdea8b593e.zip |
Add the query to the error message. Makes the diagnose what went wrong from logs easier.
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: David Sommerseth <davids@redhat.com>
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 <davids@redhat.com>
-rw-r--r-- | src/openvpn/console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvpn/console.c b/src/openvpn/console.c index 2464e7e..afda8ca 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; } |