svn commit: r232984 - head/sys/vm

John Baldwin jhb at FreeBSD.org
Wed Mar 14 20:57:49 UTC 2012


Author: jhb
Date: Wed Mar 14 20:57:48 2012
New Revision: 232984
URL: http://svn.freebsd.org/changeset/base/232984

Log:
  Pedantic nit: use vm_pindex_t instead of long for a count of pages.

Modified:
  head/sys/vm/vm_phys.c

Modified: head/sys/vm/vm_phys.c
==============================================================================
--- head/sys/vm/vm_phys.c	Wed Mar 14 20:44:20 2012	(r232983)
+++ head/sys/vm/vm_phys.c	Wed Mar 14 20:57:48 2012	(r232984)
@@ -223,7 +223,7 @@ _vm_phys_create_seg(vm_paddr_t start, vm
 {
 	struct vm_phys_seg *seg;
 #ifdef VM_PHYSSEG_SPARSE
-	long pages;
+	vm_pindex_t pages;
 	int segind;
 
 	pages = 0;


More information about the svn-src-all mailing list