aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-09-30 01:27:39 +0000
committerYang Tse <yangsita@gmail.com>2007-09-30 01:27:39 +0000
commitb108c664ac5535595609ef771eb38c14ae6bb582 (patch)
tree993f0f51e612aea68b0e19970894b083b453674b /tests
parent64db60397b9d71a7b0ba381ee80007681b409866 (diff)
Fix missing right parenthesis
Diffstat (limited to 'tests')
-rw-r--r--tests/libtest/lib518.c2
-rw-r--r--tests/libtest/lib537.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib518.c b/tests/libtest/lib518.c
index a04d2ec82..3b83ae378 100644
--- a/tests/libtest/lib518.c
+++ b/tests/libtest/lib518.c
@@ -385,7 +385,7 @@ static int rlimit(int keep_open)
rl.rlim_cur < num_open.rlim_max;
rl.rlim_cur++) {
if ((fd[rl.rlim_cur] > 0) &&
- ((unsigned int)fd[rl.rlim_cur] > num_open.rlim_cur) {
+ ((unsigned int)fd[rl.rlim_cur] > num_open.rlim_cur)) {
sprintf(strbuff, "select limit is FD_SETSIZE %d", FD_SETSIZE);
store_errmsg(strbuff, 0);
fprintf(stderr, "%s\n", msgbuff);
diff --git a/tests/libtest/lib537.c b/tests/libtest/lib537.c
index ee7bd9b6b..b4b2b7a93 100644
--- a/tests/libtest/lib537.c
+++ b/tests/libtest/lib537.c
@@ -388,7 +388,7 @@ static int rlimit(int keep_open)
rl.rlim_cur < num_open.rlim_max;
rl.rlim_cur++) {
if ((fd[rl.rlim_cur] > 0) &&
- ((unsigned int)fd[rl.rlim_cur] > num_open.rlim_cur) {
+ ((unsigned int)fd[rl.rlim_cur] > num_open.rlim_cur)) {
sprintf(strbuff, "select limit is FD_SETSIZE %d", FD_SETSIZE);
store_errmsg(strbuff, 0);
fprintf(stderr, "%s\n", msgbuff);