Changeset 8551c77556c3b1d04c64221a2150d72ef910cc12
- Timestamp:
- 10/28/09 19:10:12 (2 years ago)
- Author:
- Erwan Velu <erwan.velu@…>
- Children:
- 597475b65fd75a8a0b98b3668661f0f1a6e2754e
- Parents:
- 53fb37cfa09127a56dc68c95f3dfa877d11452f4
- git-committer:
- Erwan Velu <erwan.velu@free.fr> / 2009-10-28T20:10:12Z+0100
- Message:
-
disklib: Fixing Syslinux Detection
Impact: Syslinux is now detected as bootloader
A test wasn't correct and prevented the Syslinux mbr detection
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
ra4af14
|
r8551c7
|
|
| 44 | 44 | case 0xfa31: |
| 45 | 45 | /* We need more than 2 bytes */ |
| 46 | | if ((label >> 8) & 0xff == 0xc9) |
| | 46 | if (((label >> 8) & 0xff) == 0xc9) |
| 47 | 47 | strncpy(buffer, "Master Boot LoaDeR", buffer_size - 1); |
| 48 | | else if ((label >> 8) & 0xff == 0xc0) |
| | 48 | else if (((label >> 8) & 0xff) == 0xc0) |
| 49 | 49 | strncpy(buffer, "Syslinux", buffer_size - 1); |
| 50 | 50 | else |