Fix "allocator sizeof operand mismatch" warning
[lttng-tools.git] / src / bin / lttng / commands / enable_events.c
index f1d04581fd9f5eb05532f6667c84eddd9e6d1faa..356fef4a0732c394b188f363c24ea0a8f990bd2f 100644 (file)
@@ -632,7 +632,7 @@ int check_exclusion_subsets(const char *event_name,
                                        goto error;
                                }
                                new_exclusion_list = realloc(exclusion_list,
-                                       sizeof(char **) * (exclusion_count + 1));
+                                       sizeof(char *) * (exclusion_count + 1));
                                if (!new_exclusion_list) {
                                        PERROR("realloc");
                                        free(string);
This page took 0.022767 seconds and 4 git commands to generate.