* [PATCH git] fix warning in kernel/auditsc.c
@ 2006-06-08 23:29 Amy Griffis
0 siblings, 0 replies; only message in thread
From: Amy Griffis @ 2006-06-08 23:29 UTC (permalink / raw)
To: linux-audit
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@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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-08 23:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-08 23:29 [PATCH git] fix warning in kernel/auditsc.c Amy Griffis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox