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.10.2~13 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=826518624975825fdeabb0d05186959a80b9ec65;p=lttng-tools.git 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;