OSDN Git Service
(root)
/
linuxjm
/
LDP_man-pages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(split) Apply minor changes from v3.32 to v3.35 in the upstream.
[linuxjm/LDP_man-pages.git]
/
draft
/
man2
/
tee.2
diff --git
a/draft/man2/tee.2
b/draft/man2/tee.2
index
a4213bc
..
a6c1f90
100644
(file)
--- a/
draft/man2/tee.2
+++ b/
draft/man2/tee.2
@@
-240,8
+240,8
@@
main(int argc, char *argv[])
int len, slen;
if (argc != 2) {
- fprintf(stderr, "Usage: %s <file>\\n", argv[0]);
- exit(EXIT_FAILURE);
+
fprintf(stderr, "Usage: %s <file>\\n", argv[0]);
+
exit(EXIT_FAILURE);
}
fd = open(argv[1], O_WRONLY | O_CREAT | O_TRUNC, 0644);