aboutsummaryrefslogtreecommitdiff
path: root/have
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2022-03-19 11:02:42 +0000
committerOmar Polo <op@omarpolo.com>2022-03-19 11:02:42 +0000
commite5d82d9472513ef742dbb0b5ac451337625feb58 (patch)
treef702b4f52830b6a8c111071b3f7d48213229d2eb /have
parent9db5e7051ebb37a9078e79ca46daf7f8f8f3f963 (diff)
const-ify some tables
matches found with % grep -R '=[ ]*{' . | fgrep -v const
Diffstat (limited to 'have')
-rw-r--r--have/landlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/have/landlock.c b/have/landlock.c
index 8be29bd..1e788a6 100644
--- a/have/landlock.c
+++ b/have/landlock.c
@@ -20,7 +20,7 @@ int
main(void)
{
int rfd;
- struct landlock_ruleset_attr rsattr = {
+ const struct landlock_ruleset_attr rsattr = {
.handled_access_fs = LANDLOCK_ACCESS_FS_READ_FILE |
LANDLOCK_ACCESS_FS_READ_DIR
};