[lttng-dev] [PATCH lttng-tools] Fix: Add missing URCU_TLS access to error_log_time

Jérémie Galarneau jeremie.galarneau at efficios.com
Mon Nov 17 13:07:08 EST 2014


Merged, thanks!

Jérémie

On Fri, Nov 7, 2014 at 12:17 PM, Christian Babeux
<christian.babeux at efficios.com> wrote:
> Signed-off-by: Christian Babeux <christian.babeux at efficios.com>
> ---
>  src/common/error.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/common/error.c b/src/common/error.c
> index 55d56e6..577070e 100644
> --- a/src/common/error.c
> +++ b/src/common/error.c
> @@ -49,7 +49,7 @@ const char *log_add_time(void)
>         }
>
>         /* Format time in the TLS variable. */
> -       ret = snprintf(URCU_TLS(error_log_time).str, sizeof(error_log_time.str),
> +       ret = snprintf(URCU_TLS(error_log_time).str, sizeof(URCU_TLS(error_log_time).str),
>                         "%02d:%02d:%02d.%06ld",
>                         tm.tm_hour, tm.tm_min, tm.tm_sec, tp.tv_nsec);
>         if (ret < 0) {
> --
> 2.1.1
>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list