aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gpllib
diff options
context:
space:
mode:
authorGert Hulselmans <gerth@zytor.com>2011-01-25 00:12:48 +0100
committerErwan Velu <erwanaliasr1@gmail.com>2011-01-25 20:54:17 +0100
commitdbc4b9f8092cd9a500149cc3a10a9a38c11a580b (patch)
tree5549d0d827720f3d266c2f5491727cdc17079e77 /com32/gpllib
parent07cabef97538fdb83594e99ccc93805da19c7e50 (diff)
downloadsyslinux-dbc4b9f8092cd9a500149cc3a10a9a38c11a580b.tar.gz
syslinux-dbc4b9f8092cd9a500149cc3a10a9a38c11a580b.tar.xz
syslinux-dbc4b9f8092cd9a500149cc3a10a9a38c11a580b.zip
disklib: Detect "MS-DOS 3.30 through Windows 95 (A)" MBR
Add detection code for "MS-DOS 3.30 through Windows 95 (A)" MBR to disklib. Signed-off-by: Gert Hulselmans <gerth@zytor.com>
Diffstat (limited to 'com32/gpllib')
-rw-r--r--com32/gpllib/disk/mbrs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/com32/gpllib/disk/mbrs.c b/com32/gpllib/disk/mbrs.c
index c889eece..82b45c03 100644
--- a/com32/gpllib/disk/mbrs.c
+++ b/com32/gpllib/disk/mbrs.c
@@ -27,7 +27,6 @@ void get_mbr_string(const uint32_t label, char *buffer, const int buffer_size)
switch (s_label) {
case 0x0000:
- case 0xfa33:
case 0xfab8:
case 0xfabe:
strlcpy(buffer, "No bootloader", buffer_size - 1);
@@ -97,6 +96,9 @@ void get_mbr_string(const uint32_t label, char *buffer, const int buffer_size)
else
strlcpy(buffer, "Unknown mbr", buffer_size - 1);
break;
+ case 0xfa33:
+ strlcpy(buffer, "MS-DOS 3.30 through Windows 95 (A)", buffer_size - 1);
+ break;
case 0xfaeb:
strlcpy(buffer, "Lilo", buffer_size - 1);
break;