[Midnightbsd-cvs] src [7918] trunk/sys/vm/swap_pager.c: Typo in previous change: print half the theoretical maximum as maximum
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Wed Sep 14 15:49:42 EDT 2016
Revision: 7918
http://svnweb.midnightbsd.org/src/?rev=7918
Author: laffer1
Date: 2016-09-14 15:49:42 -0400 (Wed, 14 Sep 2016)
Log Message:
-----------
Typo in previous change: print half the theoretical maximum as maximum
recommended amount.
Modified Paths:
--------------
trunk/sys/vm/swap_pager.c
Modified: trunk/sys/vm/swap_pager.c
===================================================================
--- trunk/sys/vm/swap_pager.c 2016-09-14 19:48:34 UTC (rev 7917)
+++ trunk/sys/vm/swap_pager.c 2016-09-14 19:49:42 UTC (rev 7918)
@@ -2135,7 +2135,7 @@
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);
More information about the Midnightbsd-cvs
mailing list