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 <amy.griffis(a)hp.com>
---
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