summaryrefslogtreecommitdiff
path: root/client/get_password.c
diff options
context:
space:
mode:
authorunknown <vva@eagle.mysql.r18.ru>2003-07-16 18:15:35 -0400
committerunknown <vva@eagle.mysql.r18.ru>2003-07-16 18:15:35 -0400
commit5f4fb0b1d82fdead1ffa471c76f33d775ef27020 (patch)
treee9727a34673073728aa72d4f7035e5452c39308e /client/get_password.c
parentb3aec542016a1f8b920c905dd5875a5f01c6f60b (diff)
downloadmariadb-git-5f4fb0b1d82fdead1ffa471c76f33d775ef27020.tar.gz
fixed bug Bug #683 (Prompt for password doesn't go to console for Windows)
Diffstat (limited to 'client/get_password.c')
-rw-r--r--client/get_password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/get_password.c b/client/get_password.c
index 9928d24de32..5d78656ab0a 100644
--- a/client/get_password.c
+++ b/client/get_password.c
@@ -71,7 +71,7 @@ char *get_tty_password(char *opt_message)
char *pos=to,*end=to+sizeof(to)-1;
int i=0;
DBUG_ENTER("get_tty_password");
- fprintf(stderr,opt_message ? opt_message : "Enter password: ");
+ _cputs(opt_message ? opt_message : "Enter password: ");
for (;;)
{
char tmp;