From d551bfceebcb2243d94c5332d14fd5d1580b2289 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Sat, 18 Nov 2023 16:59:11 -0300 Subject: landlock: fix misc messages in ll_is_supported This amends commit d10bf154a ("landlock: detect support at runtime", 2023-11-06) / PR #6078. --- src/firejail/landlock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/firejail/landlock.c b/src/firejail/landlock.c index 27fc1d748..52a562d6e 100644 --- a/src/firejail/landlock.c +++ b/src/firejail/landlock.c @@ -70,12 +70,12 @@ int ll_is_supported(void) { ll_abi = 0; fprintf(stderr, "Warning: Landlock is disabled or not supported: %s, " "ignoring landlock commands\n", - strerror(errno)); + strerror(errno)); goto out; } - if (arg_debug) { + + if (arg_debug) printf("Detected Landlock ABI version %d\n", ll_abi); - } out: return ll_abi; } -- cgit v1.2.3-70-g09d2