projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix "allocator sizeof operand mismatch" warning
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
enable_events.c
diff --git
a/src/bin/lttng/commands/enable_events.c
b/src/bin/lttng/commands/enable_events.c
index dbba41a176264d0f9228bd5b7abfc76516216eec..1ea36598796e15864dd83253f866ecf9d80c848d 100644
(file)
--- a/
src/bin/lttng/commands/enable_events.c
+++ b/
src/bin/lttng/commands/enable_events.c
@@
-586,7
+586,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.02367 seconds
and
4
git commands to generate.