sprintf(strbuff1, fmt, num_open.rlim_max);
sprintf(strbuff, "stdio fopen() fails with %s fds open()",
strbuff1);
- store_errmsg(strbuff, 0);
fprintf(stderr, "%s\n", msgbuff);
+ sprintf(strbuff, "stdio fopen() fails with lots of fds open()");
+ store_errmsg(strbuff, 0);
close_file_descriptors();
free(memchunk);
return -12;
sprintf(strbuff1, fmt, num_open.rlim_max);
sprintf(strbuff, "stdio fopen() fails with %s fds open()",
strbuff1);
- store_errmsg(strbuff, 0);
fprintf(stderr, "%s\n", msgbuff);
+ sprintf(strbuff, "stdio fopen() fails with lots of fds open()");
+ store_errmsg(strbuff, 0);
close_file_descriptors();
free(memchunk);
return -10;