NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/56468: Boot countdown display glitch



The following reply was made to PR misc/56468; it has been noted by GNATS.

From: RVP <rvp%SDF.ORG@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: misc/56468: Boot countdown display glitch
Date: Wed, 27 Oct 2021 23:09:46 +0000 (UTC)

 Can you see if this fixes the problem?
 
 ---START PATCH---
 --- sys/arch/i386/stand/efiboot/eficons.c.orig	2020-02-22 10:30:37.000000000 +0000
 +++ sys/arch/i386/stand/efiboot/eficons.c	2021-10-27 23:00:43.608094006 +0000
 @@ -347,6 +347,7 @@
   				printf("%s", numbuf);
   				while (*p)
   					*p++ = '\b';
 +				printf("%s", numbuf);
   			}
   		}
   		if (iskey(1)) {
 @@ -355,7 +356,7 @@
   				c = getchar();
   			if (c == 0)
   				c = -1;
 -			goto out;
 +			break;
   		}
   		if (timeout--)
   			internal_waitforinputevent(10000000);
 @@ -365,7 +366,6 @@
   			printf("%s", numbuf);
   	}
 
 -out:
   	if (tell)
   		printf("0 seconds.     \n");
 
 ---END PATCH---
 
 -RVP
 


Home | Main Index | Thread Index | Old Index