Typo in previous change: print half the theoretical maximum as maximum
recommended amount. Reported by: <site freebsd at orientalsensation com> Reviewed by: des
This commit is contained in:
parent
0be65db279
commit
9462305cbe
@ -2135,7 +2135,7 @@ swapon_check_swzone(unsigned long npages)
|
||||
if (npages > maxpages / 2) {
|
||||
printf("warning: total configured swap (%lu pages) "
|
||||
"exceeds maximum recommended amount (%lu pages).\n",
|
||||
npages, maxpages);
|
||||
npages, maxpages / 2);
|
||||
printf("warning: increase kern.maxswzone "
|
||||
"or reduce amount of swap.\n");
|
||||
return (-1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user