kernel/auditsc.c: In function `audit_log_exit':
kernel/auditsc.c:763: warning: long int format, size_t arg (arg 4)
This fix applies to lspp.b18 commit
ba54d013e0c8ef00868e6d7f95cbf3b53c6db2e0
"Audit of POSIX Message Queue Syscalls v.2".
Signed-off-by: Amy Griffis <amy.griffis(a)hp.com>
---
kernel/auditsc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
28050ade86939aff80c1b674f7e2f67724f5c472
diff --git a/kernel/auditsc.c b/kernel/auditsc.c
index 4858bdd..8503401 100644
--- a/kernel/auditsc.c
+++ b/kernel/auditsc.c
@@ -757,7 +757,7 @@ static void audit_log_exit(struct audit_
case AUDIT_MQ_SENDRECV: {
struct audit_aux_data_mq_sendrecv *axi = (void *)aux;
audit_log_format(ab,
- "mqdes=%d msg_len=%ld msg_prio=%u "
+ "mqdes=%d msg_len=%zd msg_prio=%u "
"abs_timeout_sec=%ld abs_timeout_nsec=%ld",
axi->mqdes, axi->msg_len, axi->msg_prio,
axi->abs_timeout.tv_sec, axi->abs_timeout.tv_nsec);
--
1.3.0