projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix some formatting
[oweals/busybox.git]
/
tee.c
diff --git
a/tee.c
b/tee.c
index 621801336eeef1eb40978826092904c47afb73b0..f0eca070d558249379aaefffddd85ee969c8cfc4 100644
(file)
--- a/
tee.c
+++ b/
tee.c
@@
-47,7
+47,7
@@
tee_main(int argc, char **argv)
while (optind < argc) {
if ((files[nfiles++] = fopen(argv[optind++], mode)) == NULL) {
nfiles--;
-
errorMsg("%s: %s\n", argv[optind-1], strerror(errno)
);
+
perror_msg("%s", argv[optind-1]
);
status = 1;
}
}