X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=src%2Fbin%2Flttng-sessiond%2Fust-registry.c;h=37049b525559585ce7e2aed4a8f13f8b6fddb036;hb=4d3350dd504d64cb10770c683848afd04a5817ea;hp=46915a845d045fe9c8e1092ad7ba97b011a05501;hpb=51c611c6ab03407a9ea223c972cbbb62e40c500e;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-registry.c b/src/bin/lttng-sessiond/ust-registry.c index 46915a845..37049b525 100644 --- a/src/bin/lttng-sessiond/ust-registry.c +++ b/src/bin/lttng-sessiond/ust-registry.c @@ -88,7 +88,7 @@ no_match: static unsigned long ht_hash_event(void *_key, unsigned long seed) { uint64_t hashed_key; - const struct ust_registry_event *key = _key; + struct ust_registry_event *key = _key; assert(key); @@ -556,8 +556,8 @@ struct ust_registry_enum * struct lttng_ht_iter iter; cds_lfht_lookup(session->enums->ht, - ht_hash_enum((void *) ®_enum_lookup, lttng_ht_seed), - ht_match_enum, ®_enum_lookup, &iter.iter); + ht_hash_enum((void *) reg_enum_lookup, lttng_ht_seed), + ht_match_enum, reg_enum_lookup, &iter.iter); node = lttng_ht_iter_get_node_str(&iter); if (!node) { goto end;