summaryrefslogtreecommitdiffstats
path: root/src/core/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/debug.c')
-rw-r--r--src/core/debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/debug.c b/src/core/debug.c
index 78502b3b5..3facad29e 100644
--- a/src/core/debug.c
+++ b/src/core/debug.c
@@ -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" );
}