aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gpllib
diff options
context:
space:
mode:
authorGert Hulselmans <gerth@zytor.com>2011-01-25 00:17:57 +0100
committerErwan Velu <erwanaliasr1@gmail.com>2011-01-25 20:54:23 +0100
commit2a1dd834b9e1f579d6d4fc2cfb72ad70d52b7289 (patch)
tree9b5411424b289d756aabd774031a4a8723cfb3cd /com32/gpllib
parentdbc4b9f8092cd9a500149cc3a10a9a38c11a580b (diff)
downloadsyslinux-2a1dd834b9e1f579d6d4fc2cfb72ad70d52b7289.tar.gz
syslinux-2a1dd834b9e1f579d6d4fc2cfb72ad70d52b7289.tar.xz
syslinux-2a1dd834b9e1f579d6d4fc2cfb72ad70d52b7289.zip
disklib: Detect "FreeDOS (eXtended FDisk)" MBR
Add detection code for "FreeDOS (eXtended FDisk)" 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 82b45c03..d87acdc5 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 0xfab8:
case 0xfabe:
strlcpy(buffer, "No bootloader", buffer_size - 1);
break;
@@ -99,6 +98,9 @@ void get_mbr_string(const uint32_t label, char *buffer, const int buffer_size)
case 0xfa33:
strlcpy(buffer, "MS-DOS 3.30 through Windows 95 (A)", buffer_size - 1);
break;
+ case 0xfab8:
+ strlcpy(buffer, "FreeDOS (eXtended FDisk)", buffer_size - 1);
+ break;
case 0xfaeb:
strlcpy(buffer, "Lilo", buffer_size - 1);
break;