aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-01-18 02:57:08 +0000
committerMatt Kraai <kraai@debian.org>2001-01-18 02:57:08 +0000
commit12f417edbd21b322a8eaa8feb0ab238f13fa83c6 (patch)
tree06f9de2e4c7d33d29a448fb1c42ed1beafe18e6e /networking
parentc9acf8c766a9a2cc00449db5dea506d7663ad26b (diff)
downloadbusybox-w32-12f417edbd21b322a8eaa8feb0ab238f13fa83c6.tar.gz
busybox-w32-12f417edbd21b322a8eaa8feb0ab238f13fa83c6.tar.bz2
busybox-w32-12f417edbd21b322a8eaa8feb0ab238f13fa83c6.zip
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 fff8c06b5..54f25c4bc 100644
--- a/networking/telnet.c
+++ b/networking/telnet.c
@@ -332,7 +332,7 @@ static void setConMode()
332 { 332 {
333 if (G.charmode == CHM_TRY) { 333 if (G.charmode == CHM_TRY) {
334 G.charmode = CHM_ON; 334 G.charmode = CHM_ON;
335 fprintf(stdout, "\r\nEntering character mode%s'^]'.\r\n", escapecharis); 335 printf("\r\nEntering character mode%s'^]'.\r\n", escapecharis);
336 rawmode(); 336 rawmode();
337 } 337 }
338 } 338 }
@@ -340,7 +340,7 @@ static void setConMode()
340 { 340 {
341 if (G.charmode != CHM_OFF) { 341 if (G.charmode != CHM_OFF) {
342 G.charmode = CHM_OFF; 342 G.charmode = CHM_OFF;
343 fprintf(stdout, "\r\nEntering line mode%s'^C'.\r\n", escapecharis); 343 printf("\r\nEntering line mode%s'^C'.\r\n", escapecharis);
344 cookmode(); 344 cookmode();
345 } 345 }
346 } 346 }