summaryrefslogtreecommitdiffstats
path: root/src/autoset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/autoset.c')
-rw-r--r--src/autoset.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/autoset.c b/src/autoset.c
index e12ea7e..08a255c 100644
--- a/src/autoset.c
+++ b/src/autoset.c
@@ -28,6 +28,7 @@
#include "autoset.h"
extern const arch_fnct_t arch_gpt;
+extern const arch_fnct_t arch_humax;
extern const arch_fnct_t arch_mac;
void autoset_unit(disk_t *disk)
@@ -35,8 +36,9 @@ void autoset_unit(disk_t *disk)
if(disk==NULL)
return ;
if(
- disk->arch==&arch_mac ||
+ disk->arch==&arch_mac ||
disk->arch==&arch_gpt ||
+ disk->arch==&arch_humax ||
(disk->geom.heads_per_cylinder==1 && disk->geom.sectors_per_head==1))
disk->unit=UNIT_SECTOR;
else