summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorMatt Kraai2001-01-18 02:57:08 +0000
committerMatt Kraai2001-01-18 02:57:08 +0000
commit12f417edbd21b322a8eaa8feb0ab238f13fa83c6 (patch)
tree06f9de2e4c7d33d29a448fb1c42ed1beafe18e6e /networking
parentc9acf8c766a9a2cc00449db5dea506d7663ad26b (diff)
downloadbusybox-12f417edbd21b322a8eaa8feb0ab238f13fa83c6.zip
busybox-12f417edbd21b322a8eaa8feb0ab238f13fa83c6.tar.gz
Eliminate calls of the form "fprintf(stdout,". Thanks for the idea to
Vladimir N. Oleynik.
Diffstat (limited to 'networking')
-rw-r--r--networking/telnet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/telnet.c b/networking/telnet.c
index fff8c06..54f25c4 100644
--- a/networking/telnet.c
+++ b/networking/telnet.c
@@ -332,7 +332,7 @@ static void setConMode()
{
if (G.charmode == CHM_TRY) {
G.charmode = CHM_ON;
- fprintf(stdout, "\r\nEntering character mode%s'^]'.\r\n", escapecharis);
+ printf("\r\nEntering character mode%s'^]'.\r\n", escapecharis);
rawmode();
}
}
@@ -340,7 +340,7 @@ static void setConMode()
{
if (G.charmode != CHM_OFF) {
G.charmode = CHM_OFF;
- fprintf(stdout, "\r\nEntering line mode%s'^C'.\r\n", escapecharis);
+ printf("\r\nEntering line mode%s'^C'.\r\n", escapecharis);
cookmode();
}
}