projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db47121
)
Fix: wrong number of elements in array for loop
author
David Goulet
<dgoulet@efficios.com>
Wed, 12 Mar 2014 18:07:12 +0000
(14:07 -0400)
committer
David Goulet
<dgoulet@efficios.com>
Wed, 12 Mar 2014 18:07:12 +0000
(14:07 -0400)
Fixes coverity issue
1191759
.
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/config/config.c
patch
|
blob
|
blame
|
history
diff --git
a/src/common/config/config.c
b/src/common/config/config.c
index 4eaa274e82ce9e24d7f06d29c0c73ba8a80793d4..1a32b0b5f0281c03d5e870797ab937c0a356ed8f 100644
(file)
--- a/
src/common/config/config.c
+++ b/
src/common/config/config.c
@@
-1238,7
+1238,7
@@
int create_session(const char *name,
goto end;
}
- for (i = 0; i < (sizeof(domains) / sizeof(
*domain
)); i++) {
+ for (i = 0; i < (sizeof(domains) / sizeof(
domains[0]
)); i++) {
domain = domains[i];
if (!domain) {
continue;
This page took
0.028078 seconds
and
4
git commands to generate.