Author: andrew
Date: Mon Dec  4 11:16:51 2017
New Revision: 326524
URL: https://svnweb.freebsd.org/changeset/base/326524

Log:
  Print the correct value when freelist is out of range.
  
  Security:     :
  Sponsored by: DARPA, AFRL

Modified:
  head/sys/vm/vm_phys.c

Modified: head/sys/vm/vm_phys.c
==============================================================================
--- head/sys/vm/vm_phys.c       Mon Dec  4 10:05:59 2017        (r326523)
+++ head/sys/vm/vm_phys.c       Mon Dec  4 11:16:51 2017        (r326524)
@@ -632,7 +632,7 @@ vm_phys_alloc_freelist_pages(int domain, int freelist,
            domain));
        KASSERT(freelist < VM_NFREELIST,
            ("vm_phys_alloc_freelist_pages: freelist %d is out of range",
-           flind));
+           freelist));
        KASSERT(pool < VM_NFREEPOOL,
            ("vm_phys_alloc_freelist_pages: pool %d is out of range", pool));
        KASSERT(order < VM_NFREEORDER,
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to