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:
49e54c8
)
b=21281
author
walter
<walter>
Fri, 6 Nov 2009 18:07:44 +0000
(18:07 +0000)
committer
walter
<walter>
Fri, 6 Nov 2009 18:07:44 +0000
(18:07 +0000)
o=walter (walter@routingdynamics.com)
i=johann
i=grev
gcc-4.4.0 RHEL-5.3 x86_64 build error fix
lustre/tests/flocks_test.c
patch
|
blob
|
history
diff --git
a/lustre/tests/flocks_test.c
b/lustre/tests/flocks_test.c
index
97890d8
..
f3feac6
100644
(file)
--- a/
lustre/tests/flocks_test.c
+++ b/
lustre/tests/flocks_test.c
@@
-240,7
+240,8
@@
int t2(int argc, char* argv[])
}
t_fcntl(fd, F_SETFL, O_APPEND);
- if (!(rc = t_fcntl(fd, F_GETFL)) & O_APPEND) {
+ rc = t_fcntl(fd, F_GETFL);
+ if ((rc & O_APPEND) == 0) {
fprintf(stderr, "error get flag: ret %x\n", rc);
return EXIT_FAILURE;
}