Print flags in hex instead of decimal.

Hex is easier to grok for flags, and consistent with other prints.
This commit is contained in:
Justin Hibbits 2017-01-02 16:50:52 +00:00
parent 9f5b5f5a4d
commit b5345ef10e

View File

@ -1184,7 +1184,7 @@ page_free(void *mem, vm_size_t size, uint8_t flags)
else if (flags & UMA_SLAB_KERNEL)
vmem = kernel_arena;
else
panic("UMA: page_free used with invalid flags %d", flags);
panic("UMA: page_free used with invalid flags %x", flags);
kmem_free(vmem, (vm_offset_t)mem, size);
}