X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Ftime.h;h=eb67d39ec74bcb3ef5b1ad877f0c41d25e172423;hp=f00a54127c7369a2c7612847d642cd4504de61c7;hb=44f6feb735676fd04e9852830d977e2b60acba99;hpb=9d9f3105df97fe43379874e9dc73d767a7b81888 diff --git a/src/common/compat/time.h b/src/common/compat/time.h index f00a54127..eb67d39ec 100644 --- a/src/common/compat/time.h +++ b/src/common/compat/time.h @@ -53,8 +53,8 @@ int lttng_clock_gettime(clockid_t clk_id, struct timespec *tp) goto deallocate; } - tp->tv_sec = now.tv_sec; - tp->tv_nsec = now.tv_nsec; + tp->tv_sec = now.tv_sec; + tp->tv_nsec = now.tv_nsec; deallocate: mach_port_deallocate(mach_task_self(), clock);