summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/tty/tty_audit.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/tty/tty_audit.c')
-rw-r--r--kernel/drivers/tty/tty_audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/tty/tty_audit.c b/kernel/drivers/tty/tty_audit.c
index 90ca08293..3d245cd3d 100644
--- a/kernel/drivers/tty/tty_audit.c
+++ b/kernel/drivers/tty/tty_audit.c
@@ -265,7 +265,7 @@ static struct tty_audit_buf *tty_audit_buf_get(struct tty_struct *tty,
*
* Audit @data of @size from @tty, if necessary.
*/
-void tty_audit_add_data(struct tty_struct *tty, unsigned char *data,
+void tty_audit_add_data(struct tty_struct *tty, const void *data,
size_t size, unsigned icanon)
{
struct tty_audit_buf *buf;