Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Dec 2017 11:16:51 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r326524 - head/sys/vm
Message-ID:  <201712041116.vB4BGp64031027@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712041116.vB4BGp64031027>