Use errorMsg rather than fprintf.
diff --git a/coreutils/tee.c b/coreutils/tee.c
index c9b5410..67b42a2 100644
--- a/coreutils/tee.c
+++ b/coreutils/tee.c
@@ -104,7 +104,7 @@
/* 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 @@
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 $ */