Add mkdirat utils and runas wrappers
[lttng-tools.git] / src / common / defaults.c
index a39f1885c73f31c75770bd4dae69eb08cbd286f0..874578183ede2f9ad73c89627c7591f78fb3eba8 100644 (file)
@@ -117,8 +117,8 @@ static void __attribute__((constructor)) init_default_pthread_attr(void)
                selected_ss = DEFAULT_LTTNG_THREAD_STACK_SIZE;
        }
 
-       if (rlim.rlim_max >= 0 && selected_ss > rlim.rlim_max) {
-               WARN("Your system's stack size restrictions (%zu bytes) may be too low for the LTTng daemons to function properly, please set the stack size limit to at leat %zu bytes to ensure reliable operation",
+       if (rlim.rlim_max > 0 && selected_ss > rlim.rlim_max) {
+               WARN("Your system's stack size restrictions (%zu bytes) may be too low for the LTTng daemons to function properly, please set the stack size limit to at least %zu bytes to ensure reliable operation",
                        (size_t) rlim.rlim_max, (size_t) DEFAULT_LTTNG_THREAD_STACK_SIZE);
                selected_ss = (size_t) rlim.rlim_max;
        }
This page took 0.024437 seconds and 5 git commands to generate.