aboutsummaryrefslogtreecommitdiff
path: root/coreutils/tee.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-14 01:51:25 +0000
committerMatt Kraai <kraai@debian.org>2000-07-14 01:51:25 +0000
commitd537a95fdbc0b4a5f38edea8593b4c085fdd7fcb (patch)
tree62127f20fc07758e445d8c4e186306cbe83d77b1 /coreutils/tee.c
parent4ac6cb534d78d63d7b0a206118c56bad7024b9f8 (diff)
downloadbusybox-w32-d537a95fdbc0b4a5f38edea8593b4c085fdd7fcb.tar.gz
busybox-w32-d537a95fdbc0b4a5f38edea8593b4c085fdd7fcb.tar.bz2
busybox-w32-d537a95fdbc0b4a5f38edea8593b4c085fdd7fcb.zip
Use errorMsg rather than fprintf.
Diffstat (limited to 'coreutils/tee.c')
-rw-r--r--coreutils/tee.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/tee.c b/coreutils/tee.c
index c9b5410d3..67b42a24d 100644
--- a/coreutils/tee.c
+++ b/coreutils/tee.c
@@ -104,7 +104,7 @@ int tee_main(int argc, char **argv)
104 /* init FILE pointers */ 104 /* init FILE pointers */
105 FileList = calloc(FL_MAX, sizeof(FILE*)); 105 FileList = calloc(FL_MAX, sizeof(FILE*));
106 if (!FileList) { 106 if (!FileList) {
107 fprintf(stderr, "tee: %s\n", strerror(errno)); 107 errorMsg("%s\n", strerror(errno));
108 exit(1); 108 exit(1);
109 } 109 }
110 FL_end = 0; 110 FL_end = 0;
@@ -133,4 +133,4 @@ int tee_main(int argc, char **argv)
133 return(0); 133 return(0);
134} 134}
135 135
136/* $Id: tee.c,v 1.11 2000/06/19 17:25:40 andersen Exp $ */ 136/* $Id: tee.c,v 1.12 2000/07/14 01:51:25 kraai Exp $ */