aboutsummaryrefslogtreecommitdiff
path: root/tee.c
diff options
context:
space:
mode:
Diffstat (limited to 'tee.c')
-rw-r--r--tee.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tee.c b/tee.c
index 621801336..347684a28 100644
--- a/tee.c
+++ b/tee.c
@@ -47,7 +47,7 @@ tee_main(int argc, char **argv)
47 while (optind < argc) { 47 while (optind < argc) {
48 if ((files[nfiles++] = fopen(argv[optind++], mode)) == NULL) { 48 if ((files[nfiles++] = fopen(argv[optind++], mode)) == NULL) {
49 nfiles--; 49 nfiles--;
50 errorMsg("%s: %s\n", argv[optind-1], strerror(errno)); 50 error_msg("%s: %s\n", argv[optind-1], strerror(errno));
51 status = 1; 51 status = 1;
52 } 52 }
53 } 53 }