diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-26 23:21:47 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-26 23:21:47 +0000 |
commit | f0ed376eda5d5c25d270e5100a881fb2d801bee6 (patch) | |
tree | 79166b700c497fbe798b6031e5bbff97e0933573 /coreutils/tee.c | |
parent | 670a6626cabc1498f32b35f959591f8621d8447e (diff) | |
download | busybox-w32-f0ed376eda5d5c25d270e5100a881fb2d801bee6.tar.gz busybox-w32-f0ed376eda5d5c25d270e5100a881fb2d801bee6.tar.bz2 busybox-w32-f0ed376eda5d5c25d270e5100a881fb2d801bee6.zip |
remove bb_printf and the like
Diffstat (limited to 'coreutils/tee.c')
-rw-r--r-- | coreutils/tee.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/tee.c b/coreutils/tee.c index a194153e0..f0e1fad86 100644 --- a/coreutils/tee.c +++ b/coreutils/tee.c | |||
@@ -85,7 +85,7 @@ int tee_main(int argc, char **argv) | |||
85 | * output files. Since we know that the first entry in the output | 85 | * output files. Since we know that the first entry in the output |
86 | * file table is stdout, we can save one "if ferror" test by | 86 | * file table is stdout, we can save one "if ferror" test by |
87 | * setting the first entry to stdin and checking stdout error | 87 | * setting the first entry to stdin and checking stdout error |
88 | * status with bb_fflush_stdout_and_exit()... although fflush()ing | 88 | * status with fflush_stdout_and_exit()... although fflush()ing |
89 | * is unnecessary here. */ | 89 | * is unnecessary here. */ |
90 | 90 | ||
91 | p = files; | 91 | p = files; |
@@ -93,8 +93,8 @@ int tee_main(int argc, char **argv) | |||
93 | do { /* Now check for (input and) output errors. */ | 93 | do { /* Now check for (input and) output errors. */ |
94 | /* Checking ferror should be sufficient, but we may want to fclose. | 94 | /* Checking ferror should be sufficient, but we may want to fclose. |
95 | * If we do, remember not to close stdin! */ | 95 | * If we do, remember not to close stdin! */ |
96 | xferror(*p, filenames[(int)(p - files)]); | 96 | die_if_ferror(*p, filenames[(int)(p - files)]); |
97 | } while (*++p); | 97 | } while (*++p); |
98 | 98 | ||
99 | bb_fflush_stdout_and_exit(retval); | 99 | fflush_stdout_and_exit(retval); |
100 | } | 100 | } |