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
- landing of b_hd_cleanup_merge to HEAD.
[fs/lustre-release.git]
/
lustre
/
tests
/
multiop.c
diff --git
a/lustre/tests/multiop.c
b/lustre/tests/multiop.c
index
7ab0208
..
776eaea
100755
(executable)
--- a/
lustre/tests/multiop.c
+++ b/
lustre/tests/multiop.c
@@
-96,7
+96,8
@@
int main(int argc, char **argv)
}
break;
case 'D':
- if (open(fname, O_DIRECTORY) == -1) {
+ fd = open(fname, O_DIRECTORY);
+ if (fd == -1) {
perror("open(O_DIRECTORY)");
exit(1);
}