Print flags in hex instead of decimal.
Hex is easier to grok for flags, and consistent with other prints.
This commit is contained in:
parent
9f5b5f5a4d
commit
b5345ef10e
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user