Displaying 2 results from an estimated 2 matches for "get_mbr_string".
2011 Jan 24
0
[PATCH] disklib: Detect "MS-DOS 3.30 through Windows 95 (A)" MBR
...<gerth at zytor.com>
---
com32/gpllib/disk/mbrs.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/com32/gpllib/disk/mbrs.c b/com32/gpllib/disk/mbrs.c
index 77e4180..37309e1 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);
@@ -99,6 +98,9 @@ void get_mbr_string(const uint32_t label, char *buffer, const...
2011 Jan 24
0
[PATCH] disklib: Detect "FreeDOS (eXtended FDisk)" MBR
...<gerth at zytor.com>
---
com32/gpllib/disk/mbrs.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/com32/gpllib/disk/mbrs.c b/com32/gpllib/disk/mbrs.c
index 37309e1..6150fcf 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;
@@ -101,6 +100,9 @@ void get_mbr_string(const uint32_t label, char *buffer, const int bu...