git: 9cb5ea3dd2ec - stable/13 - lualoader: fix the autoboot_delay countdown message

From: Kyle Evans <kevans_at_FreeBSD.org>
Date: Wed, 09 Mar 2022 21:22:46 UTC
The branch stable/13 has been updated by kevans:

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

commit 9cb5ea3dd2ec87a08cef3963823a1015611a1b94
Author:     Katsuyuki Miyoshi <katsubsd@gmail.com>
AuthorDate: 2021-10-26 16:21:34 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2022-03-09 21:21:54 +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
    
    (cherry picked from commit bb4c691299c5d699cea29e18fef96bda1cef13da)
---
 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 82cc52d4dbf5..fe6f7da64283 100644
--- a/stand/lua/menu.lua
+++ b/stand/lua/menu.lua
@@ -515,7 +515,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