]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Add the query to the error message. Makes the diagnose what went wrong from logs...
authorArne Schwabe <arne@rfc2549.org>
Sat, 2 Jun 2012 13:03:37 +0000 (15:03 +0200)
committerDavid Sommerseth <davids@redhat.com>
Thu, 7 Jun 2012 12:00:31 +0000 (14:00 +0200)
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>
src/openvpn/console.c

index 2464e7e16881b3bd014e331295dbc365f14a9195..afda8ca3d7c804a6d2796e5b8e2ae96fc39a160b 100644 (file)
@@ -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;
 }