Gitweb: http://git.fedorahosted.org/git/dlm.git?p=dlm.git;a=commitdiff;h=16daac0e280bae8b2417169ad4dfedf1f8b84282 Commit: 16daac0e280bae8b2417169ad4dfedf1f8b84282 Parent: 8941f87333ce16c59894bcb35b59d77a5b31c078 Author: Fabio M. Di Nitto AuthorDate: Tue May 12 14:37:07 2009 +0200 Committer: Fabio M. Di Nitto CommitterDate: Tue Jun 23 10:51:39 2009 +0200 group: fix print formats stable3/group/dlm_controld/cpg.c:1372: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’ stable3/group/dlm_controld/cpg.c:1372: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘size_t’ stable3/group/dlm_controld/cpg.c:1963: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘size_t’ stable3/group/dlm_controld/cpg.c:1963: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘size_t’ Signed-off-by: Fabio M. Di Nitto --- group/dlm_controld/cpg.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/group/dlm_controld/cpg.c b/group/dlm_controld/cpg.c index a33687a..3e7a48f 100644 --- a/group/dlm_controld/cpg.c +++ b/group/dlm_controld/cpg.c @@ -1371,7 +1371,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; } @@ -1962,7 +1962,7 @@ static void deliver_cb_daemon(cpg_handle_t handle, struct dlm_header *hd; if (len < sizeof(*hd)) { - log_error("deliver_cb short message %d", len); + log_error("deliver_cb short message %zd", len); return; }