Browse Source

Tidy up hex_dump() output.

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
35b0233baa
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/core/debug.c

+ 2
- 2
src/core/debug.c View File

25
 			more();
25
 			more();
26
 		}
26
 		}
27
 		if ( ( index % 16 ) == 0 ) {
27
 		if ( ( index % 16 ) == 0 ) {
28
-			printf ( "%p [%lX] : %X :", data + index,
28
+			printf ( "%p [%lx] : %04x :", data + index,
29
 				 virt_to_phys ( data + index ), index );
29
 				 virt_to_phys ( data + index ), index );
30
 		}
30
 		}
31
-		printf ( " %02X", data[index] );
31
+		printf ( " %02x", data[index] );
32
 	}
32
 	}
33
 	printf ( "\n" );
33
 	printf ( "\n" );
34
 }
34
 }

Loading…
Cancel
Save