summaryrefslogtreecommitdiffstats
path: root/src/partsun.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-11-03 15:34:55 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2013-11-03 15:34:55 +0100
commit1398b863c2a47d2da492e8a66995e65cc3aded75 (patch)
treef67ce2fe9140ed7dacac5eaa8999a6e032fb2f3b /src/partsun.c
parent191a261516d0f55336f37ced9fa3695d66d225d9 (diff)
TestDisk: remove align parameter from write_part() function
Diffstat (limited to 'src/partsun.c')
-rw-r--r--src/partsun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/partsun.c b/src/partsun.c
index 77e6b19..0c749e7 100644
--- a/src/partsun.c
+++ b/src/partsun.c
@@ -52,7 +52,7 @@
static int check_part_sun(disk_t *disk_car, const int verbose,partition_t *partition,const int saveheader);
static int get_geometry_from_sunmbr(const unsigned char *buffer, const int verbose, CHSgeometry_t *geometry);
static list_part_t *read_part_sun(disk_t *disk_car, const int verbose, const int saveheader);
-static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro , const int verbose, const int align);
+static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro , const int verbose);
static list_part_t *init_part_order_sun(const disk_t *disk_car, list_part_t *list_part);
static void set_next_status_sun(const disk_t *disk_car, partition_t *partition);
static int test_structure_sun(list_part_t *list_part);
@@ -171,7 +171,7 @@ static list_part_t *read_part_sun(disk_t *disk_car, const int verbose, const int
return new_list_part;
}
-static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
+static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose)
{
/* TODO: Implement it */
if(ro==0)