Skip to content

Commit

Permalink
landlock: fix misc messages in ll_is_supported
Browse files Browse the repository at this point in the history
This amends commit d10bf15 ("landlock: detect support at runtime",
2023-11-06) / PR #6078.
  • Loading branch information
kmk3 committed Dec 5, 2023
1 parent baad683 commit d551bfc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/firejail/landlock.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d551bfc

Please sign in to comment.