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
b=22978 fix compiler warning error
[fs/lustre-release.git]
/
lustre
/
liblustre
/
tests
/
sanity.c
diff --git
a/lustre/liblustre/tests/sanity.c
b/lustre/liblustre/tests/sanity.c
index
736c492
..
ca41add
100644
(file)
--- a/
lustre/liblustre/tests/sanity.c
+++ b/
lustre/liblustre/tests/sanity.c
@@
-707,7
+707,7
@@
int t21(char *name)
}
t_fcntl(fd, F_SETFL, O_APPEND);
- if (!(
ret = t_fcntl(fd, F_GETFL)) & O_APPEND
) {
+ if (!(
(ret = t_fcntl(fd, F_GETFL)) & O_APPEND)
) {
printf("error get flag: ret %x\n", ret);
return(-1);
}