X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ftime.c;h=d084a3fddbdb5c462e5246fb83b9c336c4b898e9;hp=3a10447e96011e01a9079d9b23d6213af0aebd1b;hb=f3db82befcfc3733e2a1c78c7432b72a914e8893;hpb=ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a diff --git a/src/common/time.c b/src/common/time.c index 3a10447e9..d084a3fdd 100644 --- a/src/common/time.c +++ b/src/common/time.c @@ -88,7 +88,7 @@ int time_to_iso8601_str(time_t time, char *str, size_t len) goto end; } - tm_result = localtime_r(&time, &tm_storage); + tm_result = localtime_r(&time, &tm_storage); if (!tm_result) { ret = -1; PERROR("Failed to break down timestamp to tm structure");