kernel - Fix swap warning message when swap is full
authorMatthew Dillon <dillon@apollo.backplane.com>
Fri, 18 Nov 2016 23:24:45 +0000 (15:24 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Fri, 18 Nov 2016 23:24:45 +0000 (15:24 -0800)
commit717e3e506d2520325a09b250998f20a5dc1a1132
tree83148fb00e8f87f1e23a527a61b5f0a081aecb9a
parente8faee882195ace8980a64a8871524dbb85f6fbf
kernel - Fix swap warning message when swap is full

* Wrong variable tested caused confusing warning to be output.  Output
  swap full warning instead of 'no swap space configured' warning when
  swap is full and swap space has been configured.

Reported-by: tuxillo
sys/vm/swap_pager.c