mirror of
https://github.com/xcat2/xNBA.git
synced 2025-08-24 20:20:37 +00:00
Tidy up hex_dump() output.
This commit is contained in:
@@ -25,10 +25,10 @@ void hex_dump ( const unsigned char *data, const unsigned int len ) {
|
||||
more();
|
||||
}
|
||||
if ( ( index % 16 ) == 0 ) {
|
||||
printf ( "%p [%lX] : %X :", data + index,
|
||||
printf ( "%p [%lx] : %04x :", data + index,
|
||||
virt_to_phys ( data + index ), index );
|
||||
}
|
||||
printf ( " %02X", data[index] );
|
||||
printf ( " %02x", data[index] );
|
||||
}
|
||||
printf ( "\n" );
|
||||
}
|
||||
|
Reference in New Issue
Block a user