Display driver type using hex, not dec

This commit is contained in:
Laurent Vivier 2006-09-20 21:51:00 +00:00
parent b772a2238a
commit 0e2fed5a0f

View File

@ -129,7 +129,7 @@ void diskinfo(char* device)
int block, size, type, part;
emile_map_get_driver_info(map, j,
&block, &size, &type);
printf(" %d: base: %d size: %d type: %d",
printf(" %d: base: %d size: %d type: 0x%04x",
j, block * block_size / 512,
size * block_size / 512 , type);
part = emile_map_seek_driver_partition(map,