projects
/
profile
/
ivi
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
808d43e
)
disklib: Detect Paragon MBR
author
Gert Hulselmans
<gerth@zytor.com>
Mon, 24 Jan 2011 22:58:35 +0000
(23:58 +0100)
committer
Erwan Velu
<erwanaliasr1@gmail.com>
Tue, 25 Jan 2011 19:54:03 +0000
(20:54 +0100)
Add detection code for Paragon MBR to disklib.
Signed-off-by: Gert Hulselmans <gerth@zytor.com>
com32/gpllib/disk/mbrs.c
patch
|
blob
|
history
diff --git
a/com32/gpllib/disk/mbrs.c
b/com32/gpllib/disk/mbrs.c
index
41bb20c
..
da69228
100644
(file)
--- a/
com32/gpllib/disk/mbrs.c
+++ b/
com32/gpllib/disk/mbrs.c
@@
-56,6
+56,9
@@
void get_mbr_string(const uint32_t label, char *buffer, const int buffer_size)
case 0xeb04:
strlcpy(buffer, "Solaris", buffer_size - 1);
break;
+ case 0xeb31:
+ strlcpy(buffer, "Paragon", buffer_size - 1);
+ break;
case 0xeb48:
strlcpy(buffer, "Grub", buffer_size - 1);
break;