From: Amy Griffis <amy.griffis@hp.com>
To: linux-audit@redhat.com
Subject: [PATCH git] fix warning in kernel/auditsc.c
Date: Thu, 8 Jun 2006 19:29:57 -0400 [thread overview]
Message-ID: <20060608232957.GC5145@zk3.dec.com> (raw)
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
reply other threads:[~2006-06-08 23:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060608232957.GC5145@zk3.dec.com \
--to=amy.griffis@hp.com \
--cc=linux-audit@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.