summaryrefslogtreecommitdiffstats
path: root/src/tdisksel.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2012-02-25 12:34:37 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2012-02-25 12:34:37 +0100
commit2832afabc78c0f0807d67ca66366f962d39877c8 (patch)
tree619894e3ec3f8384ff25b783ff3881703a1caa59 /src/tdisksel.c
parent70cdc4ed1b21de9a402b32cd668c520312a20264 (diff)
Improve default partition table selection
Diffstat (limited to 'src/tdisksel.c')
-rw-r--r--src/tdisksel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tdisksel.c b/src/tdisksel.c
index e0e8da4..6b3aa03 100644
--- a/src/tdisksel.c
+++ b/src/tdisksel.c
@@ -190,7 +190,7 @@ static int testdisk_disk_selection_ncurses(int verbose,int dump_ind, const list_
{
disk_t *disk=current_disk->disk;
const int hpa_dco=is_hpa_or_dco(disk);
- autodetect_arch(disk);
+ autodetect_arch(disk, NULL);
autoset_unit(disk);
if(interface_check_disk_capacity(disk)==0 &&
interface_check_disk_access(disk, current_cmd)==0 &&
@@ -242,7 +242,7 @@ static int testdisk_disk_selection_cli(int verbose,int dump_ind, const list_disk
(*current_cmd)++;
{
disk_t *disk=current_disk->disk;
- autodetect_arch(disk);
+ autodetect_arch(disk, NULL);
autoset_unit(disk);
if(interface_check_disk_capacity(disk)==0 &&
interface_check_disk_access(disk, current_cmd)==0 &&