diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-11-18 16:59:11 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-12-05 11:41:13 -0300 |
commit | d551bfceebcb2243d94c5332d14fd5d1580b2289 (patch) | |
tree | 5081c6b6c547c3276b0c75a33ec0d2e221abbbcb /src | |
parent | landlock: add missing empty function ll_is_supported (diff) | |
download | firejail-d551bfceebcb2243d94c5332d14fd5d1580b2289.tar.gz firejail-d551bfceebcb2243d94c5332d14fd5d1580b2289.tar.zst firejail-d551bfceebcb2243d94c5332d14fd5d1580b2289.zip |
landlock: fix misc messages in ll_is_supported
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/landlock.c | 6 |
1 files 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) { | |||
70 | ll_abi = 0; | 70 | ll_abi = 0; |
71 | fprintf(stderr, "Warning: Landlock is disabled or not supported: %s, " | 71 | fprintf(stderr, "Warning: Landlock is disabled or not supported: %s, " |
72 | "ignoring landlock commands\n", | 72 | "ignoring landlock commands\n", |
73 | strerror(errno)); | 73 | strerror(errno)); |
74 | goto out; | 74 | goto out; |
75 | } | 75 | } |
76 | if (arg_debug) { | 76 | |
77 | if (arg_debug) | ||
77 | printf("Detected Landlock ABI version %d\n", ll_abi); | 78 | printf("Detected Landlock ABI version %d\n", ll_abi); |
78 | } | ||
79 | out: | 79 | out: |
80 | return ll_abi; | 80 | return ll_abi; |
81 | } | 81 | } |