diff --git a/lib/prefs.cpp b/lib/prefs.cpp index f97accbd23..b34425adf7 100644 --- a/lib/prefs.cpp +++ b/lib/prefs.cpp @@ -666,7 +666,7 @@ int GLOBAL_PREFS::write(MIOFILE& f) { cpu_usage_limit ); if (max_ncpus) { - f.printf(" %d\n", max_ncpus); + f.printf(" %d\n", max_ncpus); } for (int i=0; i<7; i++) { @@ -761,7 +761,7 @@ int GLOBAL_PREFS::write_subset(MIOFILE& f, GLOBAL_PREFS_MASK& mask) { f.printf(" %f\n", max_ncpus_pct); } if (mask.max_ncpus) { - f.printf(" %d\n", max_ncpus); + f.printf(" %d\n", max_ncpus); } if (mask.cpu_scheduling_period_minutes) { f.printf(" %f\n", cpu_scheduling_period_minutes);