From mboxrd@z Thu Jan 1 00:00:00 1970 From: Amy Griffis Subject: [PATCH git] fix warning introduced by execve patches Date: Tue, 25 Apr 2006 15:00:10 -0400 Message-ID: <20060425190010.GB24662@zk3.dec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: linux-audit@redhat.com List-Id: linux-audit@redhat.com Fix warning introduced by execve patch #1 in lspp.b7 branch. Please fold this in with lspp.b7 3ccec7a3b847f0ea5b04775dab0990a7d03052f7 on next rebase. Signed-off-by: Amy Griffis --- kernel/auditsc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 8948d72d140eea1c4df513a19db597f3f2d002f2 diff --git a/kernel/auditsc.c b/kernel/auditsc.c index 9286fea..43512c1 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c @@ -702,7 +702,7 @@ static void audit_log_exit(struct audit_ case AUDIT_EXECVE: { struct audit_aux_data_execve *axi = (void *)aux; int i; - char *p; + const char *p; for (i = 0, p = axi->mem; i < axi->argc; i++) { audit_log_format(ab, "a%d=", i); p = audit_log_untrustedstring(ab, p); -- 1.3.0