Display patch info

This commit is contained in:
Laurent Vivier 2006-09-23 22:09:08 +00:00
parent 417c927114
commit c54484befc

View File

@ -183,6 +183,10 @@ void diskinfo(char* device)
int bootstart, bootsize, bootaddr, bootentry; int bootstart, bootsize, bootaddr, bootentry;
int checksum; int checksum;
char processor[16]; char processor[16];
if (*(unsigned long*)
(emile_map_get_partition_type(map) + 28))
printf(" patch: %s\n",
emile_map_get_partition_type(map) + 28);
ret = emile_map_get_partition_geometry(map, ret = emile_map_get_partition_geometry(map,
&start, &start,