use t_setrlim in the run command
[libc-test] / src / common / setrlim.c
index fc76a8e..cc89f61 100644 (file)
@@ -18,7 +18,7 @@ int t_setrlim(int r, long lim)
        rl.rlim_max = lim;
        rl.rlim_cur = lim;
        if (setrlimit(r, &rl)) {
-               t_error("setrlimit %d: %s\n", r, strerror(errno));
+               t_error("setrlimit(%d, %ld): %s\n", r, lim, strerror(errno));
                return -1;
        }
        return 0;