aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);