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
LU-3068 build: fix 'incorrect expression' errors
[fs/lustre-release.git]
/
lustre
/
tests
/
openunlink.c
diff --git
a/lustre/tests/openunlink.c
b/lustre/tests/openunlink.c
index
64a3eeb
..
c471e3b
100644
(file)
--- a/
lustre/tests/openunlink.c
+++ b/
lustre/tests/openunlink.c
@@
-90,10
+90,10
@@
int main(int argc, char **argv)
}
fprintf(stderr, "accessing (1)\n");
}
fprintf(stderr, "accessing (1)\n");
-
if (access(fname, F_OK) == 0) {
-
fprintf(stderr, "%s still exists\n", fname2
);
-
exit(1);
-
}
+ if (access(fname, F_OK) == 0) {
+
fprintf(stderr, "%s still exists\n", fname
);
+ exit(1);
+ }
fprintf(stderr, "seeking (1)\n");
rc = lseek(fd, 0, SEEK_SET);
fprintf(stderr, "seeking (1)\n");
rc = lseek(fd, 0, SEEK_SET);