summaryrefslogtreecommitdiffstats
path: root/src/tdisksel.c
diff options
context:
space:
mode:
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 &&