From d7d5baa0e2e82d36aede94c1e6df83979ec3da66 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Tue, 30 Jan 2007 13:21:39 +0000 Subject: [PATCH] fix temp string buffer variable name --- tests/libtest/lib537.c | 4 ++-- 1 file 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(); -- 2.40.0