Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff63a53
)
Branch b1_6
author
adilger
<adilger>
Wed, 3 Sep 2008 19:29:15 +0000
(19:29 +0000)
committer
adilger
<adilger>
Wed, 3 Sep 2008 19:29:15 +0000
(19:29 +0000)
Quiet spurious ") 0: Success" messages from openfile in sanity.sh test 57b.
lustre/tests/openfile.c
patch
|
blob
|
history
diff --git
a/lustre/tests/openfile.c
b/lustre/tests/openfile.c
index
836f79a
..
505dc89
100644
(file)
--- a/
lustre/tests/openfile.c
+++ b/
lustre/tests/openfile.c
@@
-202,12
+202,11
@@
int main(int argc, char** argv)
} else {
fprintf(stderr, "Error in opening file \"%s\"(flags=%s",
fname, cloned_flags);
+ if (mode_set)
+ fprintf(stderr, ", mode=%o", mode);
+ fprintf(stderr, ") %d: %s\n", save_errno, strerror(save_errno));
}
- if (mode_set)
- fprintf(stderr, ", mode=%o", mode);
- fprintf(stderr, ") %d: %s\n", save_errno, strerror(save_errno));
-
out:
if (cloned_flags)
free(cloned_flags);
@@
-216,4
+215,3
@@
out:
return save_errno;
}
-