aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-01-30 13:21:39 +0000
committerYang Tse <yangsita@gmail.com>2007-01-30 13:21:39 +0000
commitd7d5baa0e2e82d36aede94c1e6df83979ec3da66 (patch)
tree9f8f71821042dd7c145cbf600f638e7508f2ad71 /tests
parente1e55e4d045baa7d28bab6d020148b45ecc49a9b (diff)
fix temp string buffer variable name
Diffstat (limited to 'tests')
-rw-r--r--tests/libtest/lib537.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib537.c b/tests/libtest/lib537.c
index ebd100e50..6fd9c1097 100644
--- a/tests/libtest/lib537.c
+++ b/tests/libtest/lib537.c
@@ -356,9 +356,9 @@ static int rlimit(int keep_open)
* with an indication that select limit would be exceeded.
*/
- sprintf(strbuff2, fmt, num_open.rlim_max);
+ sprintf(strbuff1, fmt, num_open.rlim_max);
sprintf(strbuff, "fds open %s > select limit %d",
- strbuff2, FD_SETSIZE);
+ strbuff1, FD_SETSIZE);
store_errmsg(strbuff, 0);
fprintf(stderr, "%s\n", msgbuff);
close_file_descriptors();