git: a3af06dd953b - stable/14 - jls(8): Complete libxo transition
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Apr 2026 03:50:00 UTC
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