summaryrefslogtreecommitdiff
path: root/mysys/my_init.c
diff options
context:
space:
mode:
authorDavi Arnaut <Davi.Arnaut@Sun.COM>2010-05-28 19:53:26 -0300
committerDavi Arnaut <Davi.Arnaut@Sun.COM>2010-05-28 19:53:26 -0300
commitaa28461510d211bd67c668a0922d555964e0d834 (patch)
treebc66ac79524a3e244caaaa32cf4aa7d20e485018 /mysys/my_init.c
parent570c6cc87a6217b49b911b35a91d35c9961d7674 (diff)
downloadmariadb-git-aa28461510d211bd67c668a0922d555964e0d834.tar.gz
Backport: remove dead code.
Reorganize function to reflect that it does not actually uses curses and that there is no curses variant.
Diffstat (limited to 'mysys/my_init.c')
-rw-r--r--mysys/my_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_init.c b/mysys/my_init.c
index 80f9a493bb0..f27f3f7b3e8 100644
--- a/mysys/my_init.c
+++ b/mysys/my_init.c
@@ -204,7 +204,7 @@ void my_end(int infoflag)
char ebuff[512];
my_snprintf(ebuff, sizeof(ebuff), EE(EE_OPEN_WARNING),
my_file_opened, my_stream_opened);
- my_message_no_curses(EE_OPEN_WARNING, ebuff, ME_BELL);
+ my_message_stderr(EE_OPEN_WARNING, ebuff, ME_BELL);
DBUG_PRINT("error", ("%s", ebuff));
my_print_open_files();
}