diff options
Diffstat (limited to 'coreutils/tee.c')
-rw-r--r-- | coreutils/tee.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/coreutils/tee.c b/coreutils/tee.c index 30496ee..4d0e6ff 100644 --- a/coreutils/tee.c +++ b/coreutils/tee.c @@ -10,10 +10,6 @@ /* BB_AUDIT SUSv3 compliant */ /* http://www.opengroup.org/onlinepubs/007904975/utilities/tee.html */ -#include <stdio.h> -#include <stdlib.h> -#include <signal.h> -#include <unistd.h> #include "busybox.h" int tee_main(int argc, char **argv) @@ -96,7 +92,7 @@ int tee_main(int argc, char **argv) do { /* Now check for (input and) output errors. */ /* Checking ferror should be sufficient, but we may want to fclose. * If we do, remember not to close stdin! */ - bb_xferror(*p, filenames[(int)(p - files)]); + xferror(*p, filenames[(int)(p - files)]); } while (*++p); bb_fflush_stdout_and_exit(retval); |