From: Mathieu Desnoyers Date: Wed, 14 Dec 2011 21:04:37 +0000 (-0500) Subject: Use DBG instead of WARN for futex_wake workaround message X-Git-Tag: v1.9.2~2 X-Git-Url: http://git.lttng.org/?p=lttng-ust.git;a=commitdiff_plain;h=a8b870ad609b7dd03f2ef5293536cf199d8d1cb7 Use DBG instead of WARN for futex_wake workaround message This message will only be shown if LTTNG_UST_DEBUG env. var. is set. Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust/lttng-ust-comm.c b/liblttng-ust/lttng-ust-comm.c index 6830d86d..15987740 100644 --- a/liblttng-ust/lttng-ust-comm.c +++ b/liblttng-ust/lttng-ust-comm.c @@ -561,7 +561,7 @@ void wait_for_sessiond(struct sock_info *sock_info) if (ret < 0) { if (errno == EFAULT) { wait_poll_fallback = 1; - WARN( + DBG( "Linux kernels 2.6.33 to 3.0 (with the exception of stable versions) " "do not support FUTEX_WAKE on read-only memory mappings correctly. " "Please upgrade your kernel "