Fix compilation on 32-bit.

This commit is contained in:
Gleb Smirnoff 2019-01-15 03:43:46 +00:00
parent 25e6655a1f
commit 5a8eee2bb4

View File

@ -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);