From db71b1a78337e96a89b4343b8303c6b8c4e6bb14 Mon Sep 17 00:00:00 2001 From: Kenneth J Davis Date: Wed, 20 Dec 2023 17:17:08 -0500 Subject: [PATCH] don't normally show InitDisk while booting --- kernel/initdisk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/initdisk.c b/kernel/initdisk.c index d7622b3..1175b2b 100644 --- a/kernel/initdisk.c +++ b/kernel/initdisk.c @@ -1022,7 +1022,7 @@ int Read1LBASector(struct DriveParamS *driveParam, unsigned drive, the extended LBA partition type indicator. */ if ((driveParam->descflags & DF_LBA) && - (InitKernelConfig.ForceLBA || ExtLBAForce || chs.Cylinder > 1023)) + (InitKernelConfig.ForceLBA || ExtLBAForce || (chs.Cylinder > 1023))) { if (InitKernelConfig.Verbose >= 1) printf("LBA mode\n"); dap.number_of_blocks = 1; @@ -1439,7 +1439,7 @@ void ReadAllPartitionTables(void) /* disk initialization: returns number of units */ COUNT dsk_init() { - if (InitKernelConfig.Verbose >= 0) printf("\nInitDisk\n"); + if (InitKernelConfig.Verbose >= 1) printf("\nInitDisk\n"); #if defined(DEBUG) && !defined(DOSEMU) {