summaryrefslogtreecommitdiff
path: root/com32/hdt
diff options
context:
space:
mode:
authorErwan Velu <erwanaliasr1@gmail.com>2011-04-13 21:13:37 +0200
committerErwan Velu <erwanaliasr1@gmail.com>2011-04-13 21:13:37 +0200
commit64bade68d3ebde2c88135e5270e54e192d164692 (patch)
tree78371645d1f1a780ba8dd1a963de07e1989645e2 /com32/hdt
parentf25edc6e3120934ebe099eb1712d918e1a087824 (diff)
downloadsyslinux-64bade68d3ebde2c88135e5270e54e192d164692.tar.gz
hdt: Changing boot flag semantic in menu mode
What we report is the presence of the boot flag and not the ability of a partition to be bootable. A partition can have a valid bootloader with a boot flag not set. So the 'Bootable' semantic was wrong.
Diffstat (limited to 'com32/hdt')
-rw-r--r--com32/hdt/hdt-menu-disk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/com32/hdt/hdt-menu-disk.c b/com32/hdt/hdt-menu-disk.c
index 6862e042..0716b435 100644
--- a/com32/hdt/hdt-menu-disk.c
+++ b/com32/hdt/hdt-menu-disk.c
@@ -120,9 +120,9 @@ static void compute_partition_information(struct driveinfo *drive_info,
add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);
}
- snprintf(buffer, sizeof buffer, "Bootable : %s",
+ snprintf(buffer, sizeof buffer, "Boot Flag : %s",
(ptab->active_flag == 0x80) ? "Yes" : "No");
- snprintf(statbuffer, sizeof statbuffer, "Bootable: %s",
+ snprintf(statbuffer, sizeof statbuffer, "Boot Flag: %s",
(ptab->active_flag == 0x80) ? "Yes" : "No");
add_item(buffer, statbuffer, OPT_INACTIVE, NULL, 0);