aboutsummaryrefslogtreecommitdiff
path: root/coreutils/catv.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-26 23:21:47 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-26 23:21:47 +0000
commit6dc3a21627db11fa0f374afe29a6bbf4f89c8b64 (patch)
tree79166b700c497fbe798b6031e5bbff97e0933573 /coreutils/catv.c
parent076d919b597733c0adf653d0ad10073be4adec7f (diff)
downloadbusybox-w32-6dc3a21627db11fa0f374afe29a6bbf4f89c8b64.tar.gz
busybox-w32-6dc3a21627db11fa0f374afe29a6bbf4f89c8b64.tar.bz2
busybox-w32-6dc3a21627db11fa0f374afe29a6bbf4f89c8b64.zip
remove bb_printf and the like
git-svn-id: svn://busybox.net/trunk/busybox@16446 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/catv.c')
-rw-r--r--coreutils/catv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/catv.c b/coreutils/catv.c
index a5a8b43e4..66f30693a 100644
--- a/coreutils/catv.c
+++ b/coreutils/catv.c
@@ -42,10 +42,10 @@ int catv_main(int argc, char **argv)
42 42
43 if (c > 126 && (flags & CATV_OPT_v)) { 43 if (c > 126 && (flags & CATV_OPT_v)) {
44 if (c == 127) { 44 if (c == 127) {
45 bb_printf("^?"); 45 printf("^?");
46 continue; 46 continue;
47 } else { 47 } else {
48 bb_printf("M-"); 48 printf("M-");
49 c -= 128; 49 c -= 128;
50 } 50 }
51 } 51 }
@@ -54,7 +54,7 @@ int catv_main(int argc, char **argv)
54 if (flags & CATV_OPT_e) 54 if (flags & CATV_OPT_e)
55 putchar('$'); 55 putchar('$');
56 } else if (flags & (c==9 ? CATV_OPT_t : CATV_OPT_v)) { 56 } else if (flags & (c==9 ? CATV_OPT_t : CATV_OPT_v)) {
57 bb_printf("^%c", c+'@'); 57 printf("^%c", c+'@');
58 continue; 58 continue;
59 } 59 }
60 } 60 }
@@ -65,5 +65,5 @@ int catv_main(int argc, char **argv)
65 close(fd); 65 close(fd);
66 } while (*++argv); 66 } while (*++argv);
67 67
68 return retval; 68 fflush_stdout_and_exit(retval);
69} 69}