diff options
author | Niels de Vos <ndevos@redhat.com> | 2016-05-09 09:49:01 +0200 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2016-05-10 09:56:02 -0700 |
commit | 3887804d5c477de889b9f1c478be3294d9e852fd (patch) | |
tree | 1e084768e0c4ccd10658b627a7f62435c77122d6 /api | |
parent | e3fd1c1b7d9357161fd0ffe05e2617db1b9ffcd7 (diff) |
gfapi: fix compile warning on 32-bit systems
While compiling gfapi on a 32-bit system, I got the following warning:
glfs.c:1114:33: warning: format '%ld' expects argument of type 'long int', but argument 10 has type 'int64_t' [-Wformat=]
gf_msg_trace ("glfs", 0,
^
Change-Id: Ia910cbd2e1682d54c9ccfbf773c87d29facab7b0
BUG: 1202274
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/14279
Smoke: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: soumya k <skoduri@redhat.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'api')
-rw-r--r-- | api/src/glfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/glfs.c b/api/src/glfs.c index 6c152ae56ed..0d67ce1a86c 100644 --- a/api/src/glfs.c +++ b/api/src/glfs.c @@ -1112,7 +1112,7 @@ pub_glfs_fini (struct glfs *fs) /* Do we need to increase countdown? */ if ((!call_pool->cnt) && (!fs->pin_refcnt)) { gf_msg_trace ("glfs", 0, - "call_pool_cnt - %ld," + "call_pool_cnt - %"PRId64"," "pin_refcnt - %d", call_pool->cnt, fs->pin_refcnt); |