Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Apr 2026 03:50:00 +0000
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Cc:        Yan-Hao Wang <yanhaowang@FreeBSD.org>
Subject:   git: a3af06dd953b - stable/14 - jls(8): Complete libxo transition
Message-ID:  <69e996e8.3a35f.3fd06b1a@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/14 has been updated by kevans:

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

commit a3af06dd953b0a845125d7caa1e10f10f740821c
Author:     Yan-Hao Wang <yanhaowang@FreeBSD.org>
AuthorDate: 2024-10-12 15:14:00 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2026-04-23 03:27:17 +0000

    jls(8): Complete libxo transition
    
    Reviewed by:    des
    
    (cherry picked from commit 20bb77c4b91837837dbccc40c9cc90eb43026131)
---
 usr.sbin/jls/jls.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/usr.sbin/jls/jls.c b/usr.sbin/jls/jls.c
index 39bd59a02d4e..f30b846a435d 100644
--- a/usr.sbin/jls/jls.c
+++ b/usr.sbin/jls/jls.c
@@ -39,7 +39,6 @@
 #include <netinet/in.h>
 
 #include <ctype.h>
-#include <err.h>
 #include <errno.h>
 #include <jail.h>
 #include <limits.h>
@@ -250,8 +249,9 @@ main(int argc, char **argv)
 	}
 	xo_close_list("jail");
 	xo_close_container("jail-information");
-	xo_finish();
-	return (0);
+	if (xo_finish() < 0)
+		xo_err(1, "stdout");
+	exit(0);
 }
 
 static int


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e996e8.3a35f.3fd06b1a>