Port: Add OSX clock_gettime compat
[lttng-tools.git] / src / common / health / health.c
index 2667e393002c8cbb21c22fdd70e384d90396d92d..830b6f0ef2829e7550fcdded38b17ae8837f265c 100644 (file)
@@ -171,7 +171,7 @@ static int validate_state(struct health_app *ha, struct health_state *state)
        last = state->last;
        current = uatomic_read(&state->current);
 
-       ret = clock_gettime(CLOCK_MONOTONIC, &current_time);
+       ret = lttng_clock_gettime(CLOCK_MONOTONIC, &current_time);
        if (ret < 0) {
                PERROR("Error reading time\n");
                /* error */
This page took 0.024379 seconds and 5 git commands to generate.