summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.c b/config.c
index 032ea6a..72843e8 100644
--- a/config.c
+++ b/config.c
@@ -118,7 +118,7 @@ conf_load(char* path, config_t** conf) {
(!conf_get_int(ini, "nebula2:height", &((*conf)->height))) ||
(!conf_get_int(ini, "nebula2:jobsize", &((*conf)->jobsize))) ||
(!conf_get_int(ini, "nebula2:jobs", &((*conf)->jobs))) ||
- (!conf_get_int(ini, "nebula2:procn", &((*conf)->procn)))) {
+ (!conf_get_int(ini, "nebula2:threads", &((*conf)->threads)))) {
goto failed;
}
@@ -197,7 +197,7 @@ conf_print(config_t* conf) {
printf("height: %d\n", conf->height);
printf("jobsize: %d\n", conf->jobsize);
printf("jobs: %d\n", conf->jobs);
- printf("procn: %d\n", conf->procn);
+ printf("threads: %d\n", conf->threads);
printf("statefile: %s\n", conf->statefile);
printf("output: %s\n", conf->output);