public inbox for cluster-cvs@sourceware.org
help / color / mirror / Atom feed
* fence: master - fence: fix print formats
@ 2009-06-23 7:22 Fabio M. Di Nitto
0 siblings, 0 replies; only message in thread
From: Fabio M. Di Nitto @ 2009-06-23 7:22 UTC (permalink / raw)
To: cluster-cvs-relay
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1781 bytes --]
Gitweb: http://git.fedorahosted.org/git/fence.git?p=fence.git;a=commitdiff;h=69c344948eaaddf8bfef6f4057ecef1c727567ff
Commit: 69c344948eaaddf8bfef6f4057ecef1c727567ff
Parent: f393b86e796cb6640283fafabed17bd058932850
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 Jun 23 09:10:27 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 233eb48..0f445de 100644
--- a/fence/fenced/cpg.c
+++ b/fence/fenced/cpg.c
@@ -1292,7 +1292,7 @@ static void deliver_cb(cpg_handle_t handle, struct cpg_name *group_name,
}
if (len < sizeof(*hd)) {
- log_error("deliver_cb short message %d", len);
+ log_error("deliver_cb short message %zd", len);
return;
}
@@ -1762,7 +1762,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-06-23 7:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-23 7:22 fence: master - 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).