Fix: userspace probe accessors are not const-correct
[lttng-tools.git] / src / bin / lttng / commands / list.c
index be252ab7600c3299e0243df68338b703d19c9fa7..eabeb8132ecd36c6e15fb996cb8bdba96b61249d 100644 (file)
@@ -251,8 +251,8 @@ end:
 
 static void print_userspace_probe_location(struct lttng_event *event)
 {
 
 static void print_userspace_probe_location(struct lttng_event *event)
 {
-       struct lttng_userspace_probe_location *location;
-       struct lttng_userspace_probe_location_lookup_method *lookup_method;
+       const struct lttng_userspace_probe_location *location;
+       const struct lttng_userspace_probe_location_lookup_method *lookup_method;
        enum lttng_userspace_probe_location_lookup_method_type lookup_type;
 
        location = lttng_event_get_userspace_probe_location(event);
        enum lttng_userspace_probe_location_lookup_method_type lookup_type;
 
        location = lttng_event_get_userspace_probe_location(event);
This page took 0.023878 seconds and 5 git commands to generate.