summaryrefslogtreecommitdiffstats
path: root/src/partsun.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2010-01-24 13:25:27 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2010-01-24 13:25:27 +0100
commit28db4a7d7771029933d4a0dc5abd7640ab890c84 (patch)
tree5c1e97e1a4e3350ec587033f0c60448bdf578102 /src/partsun.c
parentd317a55345ac91a0fe191227a3e398a13b51f3a4 (diff)
Rename sun_partition to sun_disklabel
Diffstat (limited to 'src/partsun.c')
-rw-r--r--src/partsun.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/partsun.c b/src/partsun.c
index 6545b56..b6ddce5 100644
--- a/src/partsun.c
+++ b/src/partsun.c
@@ -119,7 +119,7 @@ static unsigned int get_part_type_sun(const partition_t *partition)
static int get_geometry_from_sunmbr(const unsigned char *buffer, const int verbose, CHSgeometry_t *geometry)
{
- const sun_partition *sunlabel=(const sun_partition*)buffer;
+ const sun_disklabel *sunlabel=(const sun_disklabel*)buffer;
if(verbose>1)
{
log_trace("get_geometry_from_sunmbr\n");
@@ -138,11 +138,11 @@ static int get_geometry_from_sunmbr(const unsigned char *buffer, const int verbo
static list_part_t *read_part_sun(disk_t *disk_car, const int verbose, const int saveheader)
{
unsigned int i;
- sun_partition *sunlabel;
+ sun_disklabel *sunlabel;
list_part_t *new_list_part=NULL;
unsigned char *buffer=(unsigned char *)MALLOC(disk_car->sector_size);
screen_buffer_reset();
- sunlabel=(sun_partition*)buffer;
+ sunlabel=(sun_disklabel*)buffer;
if(disk_car->pread(disk_car, buffer, DEFAULT_SECTOR_SIZE, (uint64_t)0) != DEFAULT_SECTOR_SIZE)
{
screen_buffer_add( msg_PART_RD_ERR);