From 2d96ce8faa277809c0c94aca54320483889f577d Mon Sep 17 00:00:00 2001 From: Xavi Hernandez Date: Tue, 25 Sep 2018 13:22:47 +0200 Subject: all: fix warnings on non 64-bits architectures When compiling in other architectures there appear many warnings. Some of them are actual problems that prevent gluster to work correctly on those architectures. Change-Id: Icdc7107a2bc2da662903c51910beddb84bdf03c0 fixes: bz#1632717 Signed-off-by: Xavi Hernandez --- glusterfsd/src/glusterfsd-mgmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glusterfsd/src') diff --git a/glusterfsd/src/glusterfsd-mgmt.c b/glusterfsd/src/glusterfsd-mgmt.c index 1c27c4f748d..c1f85bf88a7 100644 --- a/glusterfsd/src/glusterfsd-mgmt.c +++ b/glusterfsd/src/glusterfsd-mgmt.c @@ -1005,7 +1005,7 @@ glusterfs_handle_dump_metrics(rpcsvc_request_t *req) if (statbuf.st_size > GF_UNIT_MB) { gf_msg(this->name, GF_LOG_WARNING, ENOMEM, LG_MSG_NO_MEMORY, "Allocated size exceeds expectation: " - "reconsider logic (%" GF_PRI_SIZET ")", + "reconsider logic (%" PRId64 ")", statbuf.st_size); } msg = GF_CALLOC(1, (statbuf.st_size + 1), gf_common_mt_char); -- cgit