Skip to content

Commit

Permalink
landlock: fix code alignment in landlock.c
Browse files Browse the repository at this point in the history
This amends commit bf5a993 ("landlock: add support for PATH macro",
2023-12-22).

Relates to #6078.
  • Loading branch information
kmk3 committed Feb 6, 2024
1 parent 1c94947 commit 2b397ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/firejail/landlock.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ static int ll_create_full_ruleset(void) {
}

static void _ll_fs(const char *allowed_path, const __u64 allowed_access,
const char *caller) {
const char *caller) {
if (ll_ruleset_fd == -1)
ll_ruleset_fd = ll_create_full_ruleset();

Expand Down Expand Up @@ -148,7 +148,7 @@ static void _ll_fs(const char *allowed_path, const __u64 allowed_access,
}

static void ll_fs(const char *allowed_path, const __u64 allowed_access,
const char *caller) {
const char *caller) {
char *expanded_path;

// ${PATH} macro is not included by default in expand_macros()
Expand Down

0 comments on commit 2b397ce

Please sign in to comment.