diff mbox series

[lttng-tools] Fix: use lttng_clock_gettime instead of clock_gettime

Message ID 20171018153906.25870-1-jonathan.rajotte-julien@efficios.com
State Accepted, archived
Delegated to: Jérémie Galarneau
Headers show
Series [lttng-tools] Fix: use lttng_clock_gettime instead of clock_gettime | expand

Commit Message

Jonathan Rajotte Oct. 18, 2017, 3:39 p.m. UTC
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(-)

Comments

Jérémie Galarneau Nov. 14, 2017, 12:26 a.m. UTC | #1
Merged, thanks!

Jérémie

On 18 October 2017 at 11:39, Jonathan Rajotte
<jonathan.rajotte-julien at efficios.com> wrote:
> 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
>
diff mbox series

Patch

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;