public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* cluster: STABLE3 - fence: fix print formats
@ 2009-05-12 13:05 Fabio M. Di Nitto
0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-05-12 13:05 UTC (permalink / raw)
To: cluster-cvs-relay
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1756 bytes --]
Gitweb: http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=f25f81abd05550d0cd8453bc3bba12e859a0ff9f
Commit: f25f81abd05550d0cd8453bc3bba12e859a0ff9f
Parent: 1855aa2af15a1f13f8062a82824c3d61ec351389
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate: Tue May 12 15:02:05 2009 +0200
Committer: Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Tue May 12 15:02:05 2009 +0200
fence: fix print formats
stable3/fence/fenced/cpg.c:1292: warning: format â%dâ expects type âintâ, but argument 3 has type âsize_tâ
stable3/fence/fenced/cpg.c:1292: warning: format â%dâ expects type âintâ, but argument 5 has type âsize_tâ
stable3/fence/fenced/cpg.c:1762: warning: format â%dâ expects type âintâ, but argument 3 has type âsize_tâ
stable3/fence/fenced/cpg.c:1762: warning: format â%dâ expects type âintâ, but argument 5 has type âsize_tâ
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
fence/fenced/cpg.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fence/fenced/cpg.c b/fence/fenced/cpg.c
index 54cd46e..25e99d2 100644
--- a/fence/fenced/cpg.c
+++ b/fence/fenced/cpg.c
@@ -1289,7 +1289,7 @@ static void deliver_cb(cpg_handle_t handle,
}
if (len < sizeof(*hd)) {
- log_error("deliver_cb short message %d", len);
+ log_error("deliver_cb short message %zd", len);
return;
}
@@ -1759,7 +1759,7 @@ static void deliver_cb_daemon(cpg_handle_t handle,
struct fd_header *hd;
if (len < sizeof(*hd)) {
- log_error("deliver_cb short message %d", len);
+ log_error("deliver_cb short message %zd", len);
return;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-12 13:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-12 13:05 cluster: STABLE3 - fence: fix print formats Fabio M. Di Nitto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).