The branch stable/14 has been updated by garga: URL: https://cgit.FreeBSD.org/src/commit/?id=a9475bf3dfb23782ce9e1d4da16473b2f9597d6b
commit a9475bf3dfb23782ce9e1d4da16473b2f9597d6b Author: Renato Botelho <ga...@freebsd.org> AuthorDate: 2025-07-01 19:14:16 +0000 Commit: Renato Botelho <ga...@freebsd.org> CommitDate: 2025-07-08 11:46:24 +0000 bectl: Print activate message in a single line When -t parameter is used, bectl prints a complementary message "for next boot" on a second line. Change it to print entire message on a single line. Reviewed by: kevans MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D49439 (cherry picked from commit e690b6519ae70921b084d5df0e707abaf848d795) --- sbin/bectl/bectl.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sbin/bectl/bectl.c b/sbin/bectl/bectl.c index be95ca5cd36a..f37a1473680e 100644 --- a/sbin/bectl/bectl.c +++ b/sbin/bectl/bectl.c @@ -159,13 +159,15 @@ bectl_cmd_activate(int argc, char *argv[]) /* activate logic goes here */ if ((err = be_activate(be, argv[0], temp)) != 0) /* XXX TODO: more specific error msg based on err */ - printf("Did not successfully activate boot environment %s\n", + printf("Did not successfully activate boot environment %s", argv[0]); else - printf("Successfully activated boot environment %s\n", argv[0]); + printf("Successfully activated boot environment %s", argv[0]); if (temp) - printf("for next boot\n"); + printf(" for next boot"); + + printf("\n"); return (err); }