gfs2-utils: master - group: fix print formats
Fabio M. Di Nitto
fabbione@fedoraproject.org
Tue Jun 23 09:25:00 GMT 2009
Gitweb: http://git.fedorahosted.org/git/gfs2-utils.git?p=gfs2-utils.git;a=commitdiff;h=bf8cfdb18334a95ab8368c131393dd3f2ce955e5
Commit: bf8cfdb18334a95ab8368c131393dd3f2ce955e5
Parent: 2c3bbdce5b28d2351e12cf0af273b97366d4a43f
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate: Tue May 12 14:37:07 2009 +0200
Committer: Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Tue Jun 23 11:20:53 2009 +0200
group: fix print formats
stable3/group/gfs_controld/cpg-new.c:2547: warning: format âÂÂ%dâ expects type âÂÂintâÂÂ, but argument 3 has type âÂÂsize_tâÂÂ
stable3/group/gfs_controld/cpg-new.c:2547: warning: format âÂÂ%dâ expects type âÂÂintâÂÂ, but argument 5 has type âÂÂsize_tâÂÂ
stable3/group/gfs_controld/cpg-new.c:3153: warning: format âÂÂ%dâ expects type âÂÂintâÂÂ, but argument 3 has type âÂÂsize_tâÂÂ
stable3/group/gfs_controld/cpg-new.c:3153: warning: format âÂÂ%dâ expects type âÂÂintâÂÂ, but argument 5 has type âÂÂsize_tâÂÂ
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
group/gfs_controld/cpg-new.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/group/gfs_controld/cpg-new.c b/group/gfs_controld/cpg-new.c
index 7d721e8..d08ca03 100644
--- a/group/gfs_controld/cpg-new.c
+++ b/group/gfs_controld/cpg-new.c
@@ -2544,7 +2544,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;
}
@@ -3150,7 +3150,7 @@ static void deliver_cb_daemon(cpg_handle_t handle,
struct gfs_header *hd;
if (len < sizeof(*hd)) {
- log_error("deliver_cb short message %d", len);
+ log_error("deliver_cb short message %zd", len);
return;
}
More information about the Cluster-cvs
mailing list