mirror of https://github.com/FDOS/kernel.git
Fix warning and typo
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/branches/UNSTABLE@1033 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
ac6ae24931
commit
7aaf2cae37
|
@ -415,7 +415,7 @@ int main(int argc, char **argv)
|
|||
" to write to *instead* of real boot sector\n"
|
||||
" BOTH : write to *both* the real boot sector and the image file\n"
|
||||
" /BOOTONLY: do *not* copy kernel / shell, only update boot sector or image\n"
|
||||
" /OEM : indicates kernel is IBMIO.SYS/IBMDOS.SYS loaded at 0x70\n"
|
||||
" /OEM : indicates kernel is IBMBIO.COM/IBMDOS.COM loaded at 0x70\n"
|
||||
#ifdef WITHOEMCOMPATBS
|
||||
" /OEM:DR use IBMBIO.COM/IBMDOS.SYS and FD boot sector (default)\n"
|
||||
" /OEM:PC use PC-DOS compatible boot sector\n"
|
||||
|
@ -823,6 +823,10 @@ void put_boot(int drive, char *bsFile, char *kernel_name, int load_seg, int both
|
|||
static unsigned char oldboot[SEC_SIZE], newboot[SEC_SIZE];
|
||||
static unsigned char default_bpb[0x5c];
|
||||
|
||||
#ifndef WITHOEMCOMPATBS
|
||||
UNREFERENCED_PARAMETER(altkern);
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("Reading old bootsector from drive %c:\n", drive + 'A');
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue