summaryrefslogtreecommitdiff
path: root/lib/readline/rltty.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2011-12-07 09:01:35 -0500
committerChet Ramey <chet.ramey@case.edu>2011-12-07 09:01:35 -0500
commit258e3d46982f45767c4e5e1cbeb7fcac1bf15d90 (patch)
tree3756319f11527e579ba17a83e7bd780964413987 /lib/readline/rltty.c
parent10a5f6b4cc41a4cff0d37768f7f45be657056c7b (diff)
downloadbash-258e3d46982f45767c4e5e1cbeb7fcac1bf15d90.tar.gz
commit bash-20061214 snapshot
Diffstat (limited to 'lib/readline/rltty.c')
-rw-r--r--lib/readline/rltty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/readline/rltty.c b/lib/readline/rltty.c
index 0a570f85..dd1f6049 100644
--- a/lib/readline/rltty.c
+++ b/lib/readline/rltty.c
@@ -464,7 +464,7 @@ static void
rltty_warning (msg)
char *msg;
{
- fprintf (stderr, "readline: warning: %s\n", msg);
+ _rl_errmsg ("warning: %s", msg);
}
#endif
@@ -475,7 +475,7 @@ TIOTYPE *tp;
{
if ((tp->c_oflag & OPOST) == 0)
{
- rltty_warning ("turning on OPOST for terminal\r");
+ _rl_errmsg ("warning: turning on OPOST for terminal\r");
tp->c_oflag |= OPOST|ONLCR;
}
}
@@ -501,7 +501,7 @@ _get_tty_settings (tty, tiop)
if (OUTPUT_BEING_FLUSHED (tiop))
{
#if defined (FLUSHO) && defined (_AIX41)
- rltty_warning ("turning off output flushing");
+ _rl_errmsg ("warning: turning off output flushing");
tiop->c_lflag &= ~FLUSHO;
break;
#else