Skip to contentSkip to conversation

Fix: Add missing URCU_TLS access to error_log_time

PATCH Jérémie Galarneau 1 participant 1 message Nov 17, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Jérémie Galarneau

author Applied
#1 lore raw

Merged, thanks!

Jérémie

Quoted 26 lines · Christian Babeux
---
 src/common/error.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/common/error.c +1 -2
index 55d56e6..577070e 100644
@@ -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
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 8 lines
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev