summaryrefslogtreecommitdiff
path: root/src/modules/checkers
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-05-23 20:18:20 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-05-23 20:18:20 -0700
commita8d44af30a06f93a95884d67507b6ff2bc74e0a9 (patch)
tree9fa7c4db9272b7400d40cefaf39338211771cc69 /src/modules/checkers
parent896e2d9916bc97cbff5fbfe0186341d206bcdaec (diff)
modules/checkers: fix transposed seed,ticks arguments
These were being supplied backwards to til_module_context_new(), which mostly just meant the seed always started @ 0 for early checkers contexts, or were just slightly different ticks values for later ones.
Diffstat (limited to 'src/modules/checkers')
-rw-r--r--src/modules/checkers/checkers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/checkers/checkers.c b/src/modules/checkers/checkers.c
index f094402..16156a4 100644
--- a/src/modules/checkers/checkers.c
+++ b/src/modules/checkers/checkers.c
@@ -79,7 +79,7 @@ static til_module_context_t * checkers_create_context(const til_module_t *module
if (((checkers_setup_t *)setup)->fill_module)
size += sizeof(til_module_context_t *) * n_cpus;
- ctxt = til_module_context_new(module, size, stream, ticks, seed, n_cpus, path, setup);
+ ctxt = til_module_context_new(module, size, stream, seed, ticks, n_cpus, path, setup);
if (!ctxt)
return NULL;
© All Rights Reserved