summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-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 3608582..9ea89cf 100644
--- a/src/modules/checkers/checkers.c
+++ b/src/modules/checkers/checkers.c
@@ -762,7 +762,7 @@ static int checkers_setup(const til_settings_t *settings, til_setting_t **res_se
setup->fill_module = til_lookup_module(fill_module);
if (!setup->fill_module) {
til_setup_free(&setup->til_setup);
- return -ENOMEM;
+ return -EINVAL;
}
r = til_module_setup_finalize(setup->fill_module, fill_module_settings, &setup->fill_module_setup);
© All Rights Reserved