diff options
Diffstat (limited to 'man7')
-rw-r--r-- | man7/landlock.7 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man7/landlock.7 b/man7/landlock.7 index 16feef42c6..fc4a95031a 100644 --- a/man7/landlock.7 +++ b/man7/landlock.7 @@ -445,7 +445,7 @@ __u64 landlock_fs_access_rights[] = { int abi = landlock_create_ruleset(NULL, 0, LANDLOCK_CREATE_RULESET_VERSION); -if (abi <= 0) { +if (abi == \-1) { /* * Kernel too old, not compiled with Landlock, * or Landlock was not enabled at boot time. |