Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Oct 2021 16:24:50 GMT
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: bb4c691299c5 - main - lualoader: fix the autoboot_delay countdown message
Message-ID:  <202110261624.19QGOo3F045532@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kevans:

URL: https://cgit.FreeBSD.org/src/commit/?id=bb4c691299c5d699cea29e18fef96bda1cef13da

commit bb4c691299c5d699cea29e18fef96bda1cef13da
Author:     Katsuyuki Miyoshi <katsubsd@gmail.com>
AuthorDate: 2021-10-26 16:21:34 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2021-10-26 16:24:29 +0000

    lualoader: fix the autoboot_delay countdown message
    
    When the timer drops from double to single digits, a spare 'e' is left
    on the end of the line as we don't overwrite it. Include an extra space
    at the end to account for this and overwrite the leftover character.
    
    PR:             259429
    MFC after:      3 days
    Reviewed by:    emaste
---
 stand/lua/menu.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stand/lua/menu.lua b/stand/lua/menu.lua
index d1e1ee012834..f1a4f07a8d73 100644
--- a/stand/lua/menu.lua
+++ b/stand/lua/menu.lua
@@ -522,7 +522,7 @@ function menu.autoboot(delay)
 			last = time
 			screen.setcursor(x, y)
 			print("Autoboot in " .. time ..
-			    " seconds. [Space] to pause")
+			    " seconds. [Space] to pause ")
 			screen.defcursor()
 		end
 		if io.ischar() then



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110261624.19QGOo3F045532>