[lttng-dev] [PATCH lttng-tools] Fix: use lttng_clock_gettime instead of clock_gettime
Jonathan Rajotte
jonathan.rajotte-julien at efficios.com
Wed Oct 18 15:39:06 UTC 2017
It appears that commit 389fbf04b41e2002be44a1e3392bfade2f1deeef missed
it.
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>
---
tests/utils/utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/utils/utils.c b/tests/utils/utils.c
index b85f027e..0b965524 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;
--
2.11.0
More information about the lttng-dev
mailing list