diff options
author | Matt Kraai <kraai@debian.org> | 2000-07-14 05:51:25 +0400 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-07-14 05:51:25 +0400 |
commit | d537a95fdbc0b4a5f38edea8593b4c085fdd7fcb (patch) | |
tree | 62127f20fc07758e445d8c4e186306cbe83d77b1 /coreutils/tee.c | |
parent | 4ac6cb534d78d63d7b0a206118c56bad7024b9f8 (diff) |
Use errorMsg rather than fprintf.
Diffstat (limited to 'coreutils/tee.c')
-rw-r--r-- | coreutils/tee.c | 4 |
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 $ */ |