Skip to content
Snippets Groups Projects
Commit d7d5baa0 authored by Yang Tse's avatar Yang Tse
Browse files

fix temp string buffer variable name

parent e1e55e4d
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment