summaryrefslogtreecommitdiffstats
path: root/src/tdiskop.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2011-12-28 07:51:15 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2011-12-28 07:51:15 +0100
commit639d289a0aec146560c3dc30e8586ccd7d0d9eb6 (patch)
tree4ec25ef9b0d601e36182cfd22435eed4d9733cea /src/tdiskop.c
parent7943d695f9470e39fd2ff75c83941ec6f47f577d (diff)
Rewrote how TestDisk aligns partition on cylinder or 1MB boundary
Diffstat (limited to 'src/tdiskop.c')
-rw-r--r--src/tdiskop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tdiskop.c b/src/tdiskop.c
index d17e8b9..ee9c04f 100644
--- a/src/tdiskop.c
+++ b/src/tdiskop.c
@@ -54,7 +54,7 @@ extern const arch_fnct_t arch_none;
static int menu_disk_cli(disk_t *disk_car, const int verbose,int dump_ind, const int saveheader, char **current_cmd)
{
- int align=2;
+ int align=1;
int ask_part_order=0;
unsigned int expert=0;
char options[16];
@@ -126,7 +126,7 @@ static int menu_disk_cli(disk_t *disk_car, const int verbose,int dump_ind, const
#ifdef HAVE_NCURSES
static int menu_disk_ncurses(disk_t *disk_car, const int verbose,int dump_ind, const int saveheader, char **current_cmd)
{
- int align=2;
+ int align=1;
int ask_part_order=0;
int command;
int real_key;