aboutsummaryrefslogtreecommitdiffstats
path: root/com32
diff options
context:
space:
mode:
Diffstat (limited to 'com32')
-rw-r--r--com32/hdt/hdt-cli-disk.c2
-rw-r--r--com32/hdt/hdt-menu-disk.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/com32/hdt/hdt-cli-disk.c b/com32/hdt/hdt-cli-disk.c
index a766ab83..c43b7ca7 100644
--- a/com32/hdt/hdt-cli-disk.c
+++ b/com32/hdt/hdt-cli-disk.c
@@ -214,7 +214,7 @@ void disks_summary(int argc __unused, char **argv __unused,
disk_size);
/* Do not print Host Bus & Interface if EDD isn't 3.0 or more */
- if (d->edd_version >= 30)
+ if (d->edd_version >= 0x30)
more_printf(" Host bus: %s, Interface type: %s\n\n",
remove_spaces((char *)d->edd_params.host_bus_type),
remove_spaces((char *)d->edd_params.interface_type));
diff --git a/com32/hdt/hdt-menu-disk.c b/com32/hdt/hdt-menu-disk.c
index 83eb379b..b0b4a5ac 100644
--- a/com32/hdt/hdt-menu-disk.c
+++ b/com32/hdt/hdt-menu-disk.c
@@ -182,7 +182,7 @@ static int compute_disk_module(struct s_my_menu *menu, int nb_sub_disk_menu,
menu[nb_sub_disk_menu].items_count++;
/* Do not print Host Bus & Interface if EDD isn't 3.0 or more */
- if (d[disk_number].edd_version >= 30) {
+ if (d[disk_number].edd_version >= 0x30) {
snprintf(buffer, sizeof buffer, "Host Bus/Interface: %s / %s",
remove_spaces((char *)d[disk_number].edd_params.host_bus_type),
d[disk_number].edd_params.interface_type);