]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/char/tty_audit.c
Audit: standardize string audit interfaces
[linux-2.6-omap-h63xx.git] / drivers / char / tty_audit.c
index 9739bbfc8f70bc23fab96c1ef98ace34d272b937..caeedd12d494cf5addeb7eaf055f7757b7a4b88b 100644 (file)
@@ -92,7 +92,7 @@ static void tty_audit_buf_push(struct task_struct *tsk, uid_t loginuid,
                get_task_comm(name, tsk);
                audit_log_untrustedstring(ab, name);
                audit_log_format(ab, " data=");
-               audit_log_n_untrustedstring(ab, buf->valid, buf->data);
+               audit_log_n_untrustedstring(ab, buf->data, buf->valid);
                audit_log_end(ab);
        }
        buf->valid = 0;