From dede4eca3e2fca76f297b5f5b901434cb99eafb0 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Thu, 11 May 2023 11:10:48 -0700 Subject: til_module_context: reference setup from module context This just does the obvious pulling in of til_setup_t, holding the reference throughout the lifetime of the module context. --- src/modules/blinds/blinds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/blinds') diff --git a/src/modules/blinds/blinds.c b/src/modules/blinds/blinds.c index 7b2f7ac..12de39f 100644 --- a/src/modules/blinds/blinds.c +++ b/src/modules/blinds/blinds.c @@ -46,7 +46,7 @@ static til_module_context_t * blinds_create_context(const til_module_t *module, { blinds_context_t *ctxt; - ctxt = til_module_context_new(module, sizeof(blinds_context_t), stream, seed, ticks, n_cpus, path); + ctxt = til_module_context_new(module, sizeof(blinds_context_t), stream, seed, ticks, n_cpus, path, setup); if (!ctxt) return NULL; -- cgit v1.2.3