summaryrefslogtreecommitdiffstats
path: root/src/parti386.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/parti386.c
parent191a261516d0f55336f37ced9fa3695d66d225d9 (diff)
TestDisk: remove align parameter from write_part() function
Diffstat (limited to 'src/parti386.c')
-rw-r--r--src/parti386.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parti386.c b/src/parti386.c
index 13374a6..1a09583 100644
--- a/src/parti386.c
+++ b/src/parti386.c
@@ -95,7 +95,7 @@ static int write_all_log_i386(disk_t *disk_car, const list_part_t *list_part, co
static int diff(const unsigned char buffer[DEFAULT_SECTOR_SIZE], const unsigned char buffer_org[DEFAULT_SECTOR_SIZE]);
static list_part_t *read_part_i386(disk_t *disk_car, const int verbose, const int saveheader);
-static int write_part_i386(disk_t *disk_car, const list_part_t *list_part, const int ro , const int verbose, const int align);
+static int write_part_i386(disk_t *disk_car, const list_part_t *list_part, const int ro , const int verbose);
static list_part_t *init_part_order_i386(const disk_t *disk_car, list_part_t *list_part);
static int write_MBR_code_i386(disk_t *disk_car);
static int write_MBR_code_i386_aux(unsigned char *buffer);
@@ -650,7 +650,7 @@ static int test_MBR_over(disk_t *disk_car,list_part_t *list_part)
return res;
}
-static int write_part_i386(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
+static int write_part_i386(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose)
{
int res=0;
res+=write_mbr_i386(disk_car,list_part,ro,verbose);