projects
/
deliverable
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: libcounter bad compare
[deliverable/lttng-ust.git]
/
libcounter
/
counter.c
diff --git
a/libcounter/counter.c
b/libcounter/counter.c
index 640705d32d4bdc7d2f8e50d951c781bf17d633cf..91506faf084fcbdf253855f35ff34e50b0017924 100644
(file)
--- a/
libcounter/counter.c
+++ b/
libcounter/counter.c
@@
-188,7
+188,7
@@
int validate_args(const struct lib_counter_config *config,
return -1;
if (!(config->alloc & COUNTER_ALLOC_PER_CPU) && counter_cpu_fds)
return -1;
return -1;
if (!(config->alloc & COUNTER_ALLOC_PER_CPU) && counter_cpu_fds)
return -1;
- if (!(config->alloc & COUNTER_ALLOC_PER_CPU) && counter_cpu_fds >= 0)
+ if (!(config->alloc & COUNTER_ALLOC_PER_CPU) &&
nr_
counter_cpu_fds >= 0)
return -1;
if (counter_cpu_fds && nr_cpus != nr_counter_cpu_fds)
return -1;
return -1;
if (counter_cpu_fds && nr_cpus != nr_counter_cpu_fds)
return -1;
This page took
0.024585 seconds
and
5
git commands to generate.