projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Add missing URCU_TLS access to error_log_time
[lttng-tools.git]
/
src
/
common
/
error.c
diff --git
a/src/common/error.c
b/src/common/error.c
index 55d56e6602d72c9da3527111f43bf58c4f0d2d9b..577070e7a1d3709e97ba4b4ad42596394c43d12f 100644
(file)
--- 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. */
}
/* 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) {
"%02d:%02d:%02d.%06ld",
tm.tm_hour, tm.tm_min, tm.tm_sec, tp.tv_nsec);
if (ret < 0) {
This page took
0.023157 seconds
and
4
git commands to generate.