Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-14 05:51:25 +0400
committerMatt Kraai <kraai@debian.org>2000-07-14 05:51:25 +0400
commitd537a95fdbc0b4a5f38edea8593b4c085fdd7fcb (patch)
tree62127f20fc07758e445d8c4e186306cbe83d77b1 /coreutils/tee.c
parent4ac6cb534d78d63d7b0a206118c56bad7024b9f8 (diff)
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)
/* init FILE pointers */
FileList = calloc(FL_MAX, sizeof(FILE*));
if (!FileList) {
- fprintf(stderr, "tee: %s\n", strerror(errno));
+ errorMsg("%s\n", strerror(errno));
exit(1);
}
FL_end = 0;
@@ -133,4 +133,4 @@ int tee_main(int argc, char **argv)
return(0);
}
-/* $Id: tee.c,v 1.11 2000/06/19 17:25:40 andersen Exp $ */
+/* $Id: tee.c,v 1.12 2000/07/14 01:51:25 kraai Exp $ */