X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fhealth%2Fhealth.c;h=830b6f0ef2829e7550fcdded38b17ae8837f265c;hb=8e1ef46e89a86865736a62d2def88f70acb0be55;hp=2667e393002c8cbb21c22fdd70e384d90396d92d;hpb=890d8fe47755c3bad936389cf48ffa141cff41c9;p=lttng-tools.git diff --git a/src/common/health/health.c b/src/common/health/health.c index 2667e3930..830b6f0ef 100644 --- a/src/common/health/health.c +++ b/src/common/health/health.c @@ -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, ¤t_time); + ret = lttng_clock_gettime(CLOCK_MONOTONIC, ¤t_time); if (ret < 0) { PERROR("Error reading time\n"); /* error */