Fix address printing in Debug_HexDump
This commit is contained in:
parent
fa2c3487af
commit
c8f6294511
@ -38,7 +38,7 @@ Debug_PrintHex(const char *data, size_t length, off_t off, size_t limit)
|
||||
if (ix >= limit || ix >= length)
|
||||
return;
|
||||
|
||||
kprintf("%08lx ", ix);
|
||||
kprintf("%08lx ", (uintptr_t)data+ix);
|
||||
size_t col;
|
||||
for (col = 0; col < row_size; col++) {
|
||||
size_t ixc = ix + col;
|
||||
|
Loading…
Reference in New Issue
Block a user