Clarify an error message. The addresses here are
really offsets within the primary mapped memory block (which may not start at address zero).
This commit is contained in:
parent
69b95e367f
commit
3772ab21ab
@ -66,7 +66,7 @@ uboot_vm_translate(vm_offset_t o) {
|
||||
*/
|
||||
}
|
||||
if (o > size)
|
||||
panic("Address 0x%08jX bigger than size 0x%08X\n",
|
||||
panic("Address offset 0x%08jX bigger than size 0x%08X\n",
|
||||
(intmax_t)o, size);
|
||||
return (void *)(start + o);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user