aboutsummaryrefslogtreecommitdiff
path: root/sys/security/audit
diff options
context:
space:
mode:
Diffstat (limited to 'sys/security/audit')
-rw-r--r--sys/security/audit/audit.h2
-rw-r--r--sys/security/audit/audit_arg.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/audit/audit.h b/sys/security/audit/audit.h
index f24bc1e503b2..2e47b8c4bf48 100644
--- a/sys/security/audit/audit.h
+++ b/sys/security/audit/audit.h
@@ -122,7 +122,7 @@ void audit_arg_upath2(struct thread *td, int dirfd, char *upath);
void audit_arg_upath2_canon(char *upath);
void audit_arg_vnode1(struct vnode *vp);
void audit_arg_vnode2(struct vnode *vp);
-void audit_arg_text(char *text);
+void audit_arg_text(const char *text);
void audit_arg_cmd(int cmd);
void audit_arg_svipc_cmd(int cmd);
void audit_arg_svipc_perm(struct ipc_perm *perm);
diff --git a/sys/security/audit/audit_arg.c b/sys/security/audit/audit_arg.c
index de3ca87ac3a2..13fd16f2ea38 100644
--- a/sys/security/audit/audit_arg.c
+++ b/sys/security/audit/audit_arg.c
@@ -536,7 +536,7 @@ audit_arg_auditinfo_addr(struct auditinfo_addr *au_info)
}
void
-audit_arg_text(char *text)
+audit_arg_text(const char *text)
{
struct kaudit_record *ar;