mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 22:35:35 +00:00
Fix the "Kernel features are written to cache:" test
the cache test is failing because it assumes that kernel features are stored in a file instead of a directory Signed-off-by: John Johansen <john.johansen@canonical.com> Acked-By: Steve Beattie <sbeattie@ubuntu.com>
This commit is contained in:
@@ -768,7 +768,7 @@ static char *handle_features_dir(const char *filename, char **buffer, int size,
|
||||
|
||||
}
|
||||
|
||||
pos = snprintf_buffer(*buffer, pos, size, " }\n");
|
||||
pos = snprintf_buffer(*buffer, pos, size, "}\n");
|
||||
}
|
||||
if (dirent_path)
|
||||
free(dirent_path);
|
||||
|
Reference in New Issue
Block a user