The branch main has been updated by tsoome:

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

commit c1c97f18b5b9110b3222816ed9129a882b6b5931
Author:     Toomas Soome <[email protected]>
AuthorDate: 2026-04-09 10:48:15 +0000
Commit:     Toomas Soome <[email protected]>
CommitDate: 2026-04-09 11:24:42 +0000

    gptzfsboot: boot prompt should emit new line on input
    
    In case the user did input, we should put newline
    on screen to avoid possible error messages to get
    mixed with user input.
---
 stand/i386/gptzfsboot/zfsboot.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/stand/i386/gptzfsboot/zfsboot.c b/stand/i386/gptzfsboot/zfsboot.c
index 4c8eae9b65e5..72d791ad2364 100644
--- a/stand/i386/gptzfsboot/zfsboot.c
+++ b/stand/i386/gptzfsboot/zfsboot.c
@@ -320,10 +320,12 @@ main(void)
                else if (!auto_boot || !OPT_CHECK(RBX_QUIET))
                        putchar('\n');
                auto_boot = 0;
-               if (parse_cmd())
+               if (parse_cmd()) {
                        putchar('\a');
-               else
+               } else {
+                       putchar('\n');
                        load();
+               }
        }
 }
 

Reply via email to