From ef9ffb8594eee294334ced627755bf5b46b48f9f Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Mon, 25 Nov 2024 22:39:31 +0000 Subject: kern: Make fileops and filterops tables const where possible No functional change intended. MFC after: 1 week --- sys/security/audit/audit_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/security/audit') diff --git a/sys/security/audit/audit_pipe.c b/sys/security/audit/audit_pipe.c index 704f9c726803..fb773fd04297 100644 --- a/sys/security/audit/audit_pipe.c +++ b/sys/security/audit/audit_pipe.c @@ -238,7 +238,7 @@ static struct cdevsw audit_pipe_cdevsw = { static int audit_pipe_kqread(struct knote *note, long hint); static void audit_pipe_kqdetach(struct knote *note); -static struct filterops audit_pipe_read_filterops = { +static const struct filterops audit_pipe_read_filterops = { .f_isfd = 1, .f_attach = NULL, .f_detach = audit_pipe_kqdetach, -- cgit v1.3