From: Jonathan Rajotte Date: Wed, 18 Oct 2017 15:39:06 +0000 (-0400) Subject: Fix: use lttng_clock_gettime instead of clock_gettime X-Git-Tag: v2.11.0-rc1~429 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=838193da4897e62cebf4ef2090ba7224cbdad1da Fix: use lttng_clock_gettime instead of clock_gettime It appears that commit 389fbf04b41e2002be44a1e3392bfade2f1deeef missed it. Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- diff --git a/tests/utils/utils.c b/tests/utils/utils.c index b85f027e0..0b9655247 100644 --- a/tests/utils/utils.c +++ b/tests/utils/utils.c @@ -55,7 +55,7 @@ int usleep_safe(useconds_t usec) goto end; } - ret = clock_gettime(CLOCK_MONOTONIC, &t2); + ret = lttng_clock_gettime(CLOCK_MONOTONIC, &t2); if (ret) { perror("clock_gettime"); goto end;