Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* vibnal fixes
[fs/lustre-release.git]
/
lnet
/
utils
/
debug.c
diff --git
a/lnet/utils/debug.c
b/lnet/utils/debug.c
index
7b0ca54
..
f8d94ed
100644
(file)
--- a/
lnet/utils/debug.c
+++ b/
lnet/utils/debug.c
@@
-467,7
+467,7
@@
int jt_dbg_debug_file(int argc, char **argv)
return 1;
}
if (argc > 2) {
- fdout = open(argv[2], O_CREAT | O_WRONLY | O_LARGEFILE);
+ fdout = open(argv[2], O_CREAT | O_WRONLY | O_LARGEFILE
, 0600
);
if (fdout == -1) {
fprintf(stderr, "open(%s) failed: %s\n", argv[2],
strerror(errno));