summaryrefslogtreecommitdiffstats
path: root/src/partgptw.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/partgptw.c
parent191a261516d0f55336f37ced9fa3695d66d225d9 (diff)
TestDisk: remove align parameter from write_part() function
Diffstat (limited to 'src/partgptw.c')
-rw-r--r--src/partgptw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/partgptw.c b/src/partgptw.c
index 1aad89f..9bebfd1 100644
--- a/src/partgptw.c
+++ b/src/partgptw.c
@@ -188,12 +188,12 @@ static int write_part_gpt_i386(disk_t *disk_car, const list_part_t *list_part)
if(insert_error>0)
free(new_partition);
}
- arch_i386.write_part(disk_car, list_part_i386, 0, 0, 0);
+ arch_i386.write_part(disk_car, list_part_i386, 0, 0);
part_free_list(list_part_i386);
return 0;
}
-int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose, const int align)
+int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose)
{
struct gpt_hdr *gpt;
struct gpt_ent* gpt_entries;