selftests/landlock: Fix typo in fs_test

Signed-off-by: Tingmao Wang <m@maowtm.org>
Link: https://lore.kernel.org/r/62d18e06eeb26f62bc49d24c4467b3793c5ba32b.1766885035.git.m@maowtm.org
Signed-off-by: Mickaël Salaün <mic@digikod.net>
This commit is contained in:
Tingmao Wang 2025-12-28 01:27:31 +00:00 committed by Mickaël Salaün
parent 602acfb541
commit 14c00e30d3
No known key found for this signature in database
GPG Key ID: E5E3D0E88C82F6D2

View File

@ -7069,8 +7069,8 @@ static int matches_log_fs_extra(struct __test_metadata *const _metadata,
return -E2BIG;
/*
* It is assume that absolute_path does not contain control characters nor
* spaces, see audit_string_contains_control().
* It is assumed that absolute_path does not contain control
* characters nor spaces, see audit_string_contains_control().
*/
absolute_path = realpath(path, NULL);
if (!absolute_path)