svn commit: r343037 - head/sys/vm

Gleb Smirnoff glebius at FreeBSD.org
Tue Jan 15 03:43:47 UTC 2019


Author: glebius
Date: Tue Jan 15 03:43:46 2019
New Revision: 343037
URL: https://svnweb.freebsd.org/changeset/base/343037

Log:
  Fix compilation on 32-bit.

Modified:
  head/sys/vm/uma_core.c

Modified: head/sys/vm/uma_core.c
==============================================================================
--- head/sys/vm/uma_core.c	Tue Jan 15 02:26:03 2019	(r343036)
+++ head/sys/vm/uma_core.c	Tue Jan 15 03:43:46 2019	(r343037)
@@ -3758,8 +3758,8 @@ uma_print_zone(uma_zone_t zone)
 	uma_cache_t cache;
 	int i;
 
-	printf("zone: %s(%p) size %d maxitems %lu flags %#x\n",
-	    zone->uz_name, zone, zone->uz_size, zone->uz_max_items,
+	printf("zone: %s(%p) size %d maxitems %ju flags %#x\n",
+	    zone->uz_name, zone, zone->uz_size, (uintmax_t)zone->uz_max_items,
 	    zone->uz_flags);
 	if (zone->uz_lockptr != &zone->uz_lock)
 		uma_print_keg(zone->uz_keg);


More information about the svn-src-all mailing list