diff options
author | Erwan Velu <erwanaliasr1@gmail.com> | 2011-04-13 21:13:37 +0200 |
---|---|---|
committer | Erwan Velu <erwanaliasr1@gmail.com> | 2011-04-13 21:13:37 +0200 |
commit | 64bade68d3ebde2c88135e5270e54e192d164692 (patch) | |
tree | 78371645d1f1a780ba8dd1a963de07e1989645e2 /com32/hdt | |
parent | f25edc6e3120934ebe099eb1712d918e1a087824 (diff) | |
download | syslinux-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.c | 4 |
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); |