X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Ftracker.c;h=126f8252a7016e66dc7e210a2f5614c4dc87ef9c;hb=d7eddab94e97ae5f3083028a725a4c4042bf437f;hp=ec908081cef84cd75a350cd5394f5672a0935262;hpb=f19f5c968f63a83a83c47390020e6ff0dd7c85aa;p=lttng-tools.git diff --git a/src/common/tracker.c b/src/common/tracker.c index ec908081c..126f8252a 100644 --- a/src/common/tracker.c +++ b/src/common/tracker.c @@ -277,13 +277,13 @@ const struct lttng_tracker_id *lttng_tracker_ids_get_at_index( return lttng_tracker_ids_get_pointer_of_index(ids, index); } -int lttng_tracker_ids_get_count(const struct lttng_tracker_ids *ids, unsigned int *count) +enum lttng_tracker_id_status lttng_tracker_ids_get_count(const struct lttng_tracker_ids *ids, unsigned int *count) { - enum lttng_tracker_id_status status = LTTNG_ROTATION_STATUS_OK; + enum lttng_tracker_id_status status = LTTNG_TRACKER_ID_STATUS_OK; if (!ids || !count) { - status = LTTNG_ROTATION_STATUS_INVALID; + status = LTTNG_TRACKER_ID_STATUS_INVALID; goto end; }