svn commit: r328915 - user/jeff/numa/sys/kern

Jeff Roberson jeff at FreeBSD.org
Tue Feb 6 02:13:45 UTC 2018


Author: jeff
Date: Tue Feb  6 02:13:44 2018
New Revision: 328915
URL: https://svnweb.freebsd.org/changeset/base/328915

Log:
  Fix a type issue for 32bit archs.

Modified:
  user/jeff/numa/sys/kern/vfs_bio.c

Modified: user/jeff/numa/sys/kern/vfs_bio.c
==============================================================================
--- user/jeff/numa/sys/kern/vfs_bio.c	Tue Feb  6 00:19:46 2018	(r328914)
+++ user/jeff/numa/sys/kern/vfs_bio.c	Tue Feb  6 02:13:44 2018	(r328915)
@@ -1587,8 +1587,8 @@ buf_recycle(struct bufdomain *bd, bool kva)
 		    ("buf_recycle: inconsistent queue %d bp %p",
 		    bp->b_qindex, bp));
 		KASSERT(bp->b_domain == BD_DOMAIN(bd),
-		    ("getnewbuf: queue domain %d doesn't match request %ld",
-		    bp->b_domain, BD_DOMAIN(bd)));
+		    ("getnewbuf: queue domain %d doesn't match request %d",
+		    bp->b_domain, (int)BD_DOMAIN(bd)));
 		/*
 		 * NOTE:  nbp is now entirely invalid.  We can only restart
 		 * the scan from this point on.


More information about the svn-src-user mailing list