Skip to content

Commit db71b1a

Browse files
committed
don't normally show InitDisk while booting
1 parent de96d00 commit db71b1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/initdisk.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ int Read1LBASector(struct DriveParamS *driveParam, unsigned drive,
10221022
the extended LBA partition type indicator.
10231023
*/
10241024
if ((driveParam->descflags & DF_LBA) &&
1025-
(InitKernelConfig.ForceLBA || ExtLBAForce || chs.Cylinder > 1023))
1025+
(InitKernelConfig.ForceLBA || ExtLBAForce || (chs.Cylinder > 1023)))
10261026
{
10271027
if (InitKernelConfig.Verbose >= 1) printf("LBA mode\n");
10281028
dap.number_of_blocks = 1;
@@ -1439,7 +1439,7 @@ void ReadAllPartitionTables(void)
14391439
/* disk initialization: returns number of units */
14401440
COUNT dsk_init()
14411441
{
1442-
if (InitKernelConfig.Verbose >= 0) printf("\nInitDisk\n");
1442+
if (InitKernelConfig.Verbose >= 1) printf("\nInitDisk\n");
14431443

14441444
#if defined(DEBUG) && !defined(DOSEMU)
14451445
{

0 commit comments

Comments
 (0)