svn commit: r326524 - head/sys/vm
Andrew Turner
andrew at FreeBSD.org
Mon Dec 4 11:16:52 UTC 2017
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,
More information about the svn-src-all
mailing list