X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Ferror.c;h=db3042318e169e72b2e31a28874c2396976a249b;hb=6ea623231467f9f787781ea64f9027836522948b;hp=2215886db1be67d5c93e3b89233c8e101f26a96d;hpb=08eea91894d184f229e3aa991c6b581827eabd89;p=lttng-tools.git diff --git a/src/common/error.c b/src/common/error.c index 2215886db..db3042318 100644 --- a/src/common/error.c +++ b/src/common/error.c @@ -59,7 +59,7 @@ const char *log_add_time(void) /* Format time in the TLS variable. */ ret = snprintf(URCU_TLS(error_log_time).str, sizeof(URCU_TLS(error_log_time).str), - "%02d:%02d:%02d.%06ld", + "%02d:%02d:%02d.%09ld", tm.tm_hour, tm.tm_min, tm.tm_sec, tp.tv_nsec); if (ret < 0) { goto error;