Do not display CHS warning during booting when FORCELBA enabled - patch from Pete Batard.
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1697 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
d6ff7e86e3
commit
06ddb06931
@ -809,11 +809,14 @@ BOOL is_suspect(struct CHS *chs, struct CHS *pEntry_chs)
|
||||
|
||||
void print_warning_suspect(char *partitionName, UBYTE fs, struct CHS *chs,
|
||||
struct CHS *pEntry_chs)
|
||||
{
|
||||
if (!InitKernelConfig.ForceLBA)
|
||||
{
|
||||
printf("WARNING: using suspect partition %s FS %02x:", partitionName, fs);
|
||||
printCHS(" with calculated values ", chs);
|
||||
printCHS(" instead of ", pEntry_chs);
|
||||
printf("\n");
|
||||
}
|
||||
memcpy(pEntry_chs, chs, sizeof(struct CHS));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user