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

Jeff Roberson jeff at FreeBSD.org
Thu Mar 15 19:32:34 UTC 2018


Author: jeff
Date: Thu Mar 15 19:32:33 2018
New Revision: 331020
URL: https://svnweb.freebsd.org/changeset/base/331020

Log:
  Correct print formats.
  
  Reported by:	pho

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	Thu Mar 15 19:31:39 2018	(r331019)
+++ user/jeff/numa/sys/kern/vfs_bio.c	Thu Mar 15 19:32:33 2018	(r331020)
@@ -5384,7 +5384,7 @@ DB_SHOW_COMMAND(bufqueues, bufqueues)
 				cnt++;
 				total += buf[j].b_bufsize;
 			}
-		db_printf("\tLocked buffers: %d space %jd\n", cnt, total);
+		db_printf("\tLocked buffers: %d space %ld\n", cnt, total);
 		cnt = 0;
 		total = 0;
 		for (j = 0; j < nbuf; j++)
@@ -5392,7 +5392,7 @@ DB_SHOW_COMMAND(bufqueues, bufqueues)
 				cnt++;
 				total += buf[j].b_bufsize;
 			}
-		db_printf("\tTotal buffers: %d space %jd\n", cnt, total);
+		db_printf("\tTotal buffers: %d space %ld\n", cnt, total);
 	}
 }
 


More information about the svn-src-user mailing list