Signed-off-by: Tom Schwindl <schwindl@xxxxxxxxx> --- man7/landlock.7 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man7/landlock.7 b/man7/landlock.7 index b2bc9e10b0c0..bbe00d4c2793 100644 --- a/man7/landlock.7 +++ b/man7/landlock.7 @@ -245,7 +245,7 @@ attr.handled_access_fs = LANDLOCK_ACCESS_FS_MAKE_SYM; ruleset_fd = landlock_create_ruleset(&attr, sizeof(attr), 0); -if (ruleset_fd == -1) { +if (ruleset_fd == \-1) { perror("Failed to create a ruleset"); exit(EXIT_FAILURE); } @@ -276,7 +276,7 @@ path_beneath.allowed_access = LANDLOCK_ACCESS_FS_READ_DIR; path_beneath.parent_fd = open("/usr", O_PATH | O_CLOEXEC); -if (path_beneath.parent_fd == -1) { +if (path_beneath.parent_fd == \-1) { perror("Failed to open file"); close(ruleset_fd); exit(EXIT_FAILURE); -- 2.39.2