X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-registry.c;h=90c71c4230e63d9f39f2b75d03f6563bdcdff535;hb=4a732689c2fe7624efff6fec2353542f14c60cb8;hp=61b5c59f222415f90a846f17932ae0747074b433;hpb=2e99313817b70fe49a644af7c40b335c4449e00e;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/ust-registry.c b/src/bin/lttng-sessiond/ust-registry.c index 61b5c59f2..90c71c423 100644 --- a/src/bin/lttng-sessiond/ust-registry.c +++ b/src/bin/lttng-sessiond/ust-registry.c @@ -90,7 +90,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); @@ -558,8 +558,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;